address clippy a different way

This commit is contained in:
Rob Ede 2021-03-30 11:52:46 +01:00
parent 0b2f1ef259
commit f4d2958563
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
1 changed files with 2 additions and 3 deletions

View File

@ -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)
} }
} }