mirror of https://github.com/fafhrd91/actix-net
fix syntax
This commit is contained in:
parent
2406508b26
commit
ad733b3944
|
@ -60,7 +60,7 @@ impl Service for SrvRC {
|
||||||
Poll::Ready(Ok(()))
|
Poll::Ready(Ok(()))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn call(&mut self, req: ()) -> Self::Future {
|
fn call(&mut self, _: ()) -> Self::Future {
|
||||||
let prev = *self.0.borrow();
|
let prev = *self.0.borrow();
|
||||||
*(*self.0).borrow_mut() = prev + 1;
|
*(*self.0).borrow_mut() = prev + 1;
|
||||||
ok(*self.0.borrow())
|
ok(*self.0.borrow())
|
||||||
|
|
Loading…
Reference in New Issue