mirror of https://github.com/fafhrd91/actix-web
refactor: redundant closure found
This commit is contained in:
parent
1dc8cf6ad5
commit
dd437a6bab
|
@ -359,7 +359,7 @@ where
|
||||||
}
|
}
|
||||||
|
|
||||||
fn poll_next(&mut self) -> Poll<Option<Bytes>, Error> {
|
fn poll_next(&mut self) -> Poll<Option<Bytes>, Error> {
|
||||||
self.stream.poll().map_err(|e| e.into())
|
self.stream.poll().map_err(std::convert::Into::into)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue