1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-07-01 00:44:26 +02:00

Fix clippy warning (#755)

This commit is contained in:
nasa
2019-04-05 18:34:24 +09:00
committed by Douman
parent 309c480782
commit a655bdac52
5 changed files with 6 additions and 6 deletions

View File

@ -359,7 +359,7 @@ where
}
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)
}
}