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

clippy warnings

This commit is contained in:
Nikolay Kim
2018-02-26 14:33:56 -08:00
parent 644f1a9518
commit 72aa2d9eae
33 changed files with 117 additions and 143 deletions

View File

@@ -230,10 +230,7 @@ pub struct Drain<A> {
impl<A> Drain<A> {
pub fn new(fut: oneshot::Receiver<()>) -> Self {
Drain {
fut: fut,
_a: PhantomData
}
Drain { fut, _a: PhantomData }
}
}