mirror of
https://github.com/fafhrd91/actix-web
synced 2025-06-25 06:39:22 +02:00
Fix clippy warnings (#2217)
This commit is contained in:
@ -84,7 +84,7 @@ impl<B> Response<B> {
|
||||
pub fn with_body(status: StatusCode, body: B) -> Response<B> {
|
||||
Response {
|
||||
head: BoxedResponseHead::new(status),
|
||||
body: body,
|
||||
body,
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user