fix syntax

This commit is contained in:
Maksym Vorobiov 2020-02-21 18:24:59 +03:00
parent 2406508b26
commit ad733b3944
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ impl Service for SrvRC {
Poll::Ready(Ok(()))
}
fn call(&mut self, req: ()) -> Self::Future {
fn call(&mut self, _: ()) -> Self::Future {
let prev = *self.0.borrow();
*(*self.0).borrow_mut() = prev + 1;
ok(*self.0.borrow())