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);
|
||||
|
||||
#[allow(clippy::unit_arg)]
|
||||
fn call(&self, req: ()) -> Self::Future {
|
||||
self.inner.call(req)
|
||||
fn call(&self, _: ()) -> Self::Future {
|
||||
self.inner.call(())
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue