mirror of https://github.com/fafhrd91/actix-web
fix clippy
This commit is contained in:
parent
11c1447118
commit
ea0a56e74d
|
@ -290,7 +290,7 @@ where
|
||||||
let this = self.get_mut();
|
let this = self.get_mut();
|
||||||
|
|
||||||
match this.body {
|
match this.body {
|
||||||
Err(ref mut err) => return Poll::Ready(Err(err.take().unwrap())),
|
Err(ref mut err) => Poll::Ready(Err(err.take().unwrap())),
|
||||||
Ok(ref mut body) => {
|
Ok(ref mut body) => {
|
||||||
if let Some(len) = this.length.take() {
|
if let Some(len) = this.length.take() {
|
||||||
if len > body.limit {
|
if len > body.limit {
|
||||||
|
|
Loading…
Reference in New Issue