From ad733b3944de79ff0faa78350dec4c759fc69a39 Mon Sep 17 00:00:00 2001 From: Maksym Vorobiov Date: Fri, 21 Feb 2020 18:24:59 +0300 Subject: [PATCH] fix syntax --- actix-service/benches/unsafecell_vs_refcell.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actix-service/benches/unsafecell_vs_refcell.rs b/actix-service/benches/unsafecell_vs_refcell.rs index f428829b..8913bf11 100644 --- a/actix-service/benches/unsafecell_vs_refcell.rs +++ b/actix-service/benches/unsafecell_vs_refcell.rs @@ -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())