mirror of https://github.com/fafhrd91/actix-net
address clippy a different way
This commit is contained in:
parent
0b2f1ef259
commit
f4d2958563
|
@ -147,9 +147,8 @@ mod tests {
|
||||||
|
|
||||||
forward_ready!(inner);
|
forward_ready!(inner);
|
||||||
|
|
||||||
#[allow(clippy::unit_arg)]
|
fn call(&self, _: ()) -> Self::Future {
|
||||||
fn call(&self, req: ()) -> Self::Future {
|
self.inner.call(())
|
||||||
self.inner.call(req)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue