From ccd99f1f97526bab35613b8970ecb84085f2a3e5 Mon Sep 17 00:00:00 2001 From: leudz Date: Fri, 5 Jun 2020 19:05:11 +0200 Subject: [PATCH] fix warning --- src/storage/all/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/storage/all/mod.rs b/src/storage/all/mod.rs index 65bec2e0..609dabb6 100644 --- a/src/storage/all/mod.rs +++ b/src/storage/all/mod.rs @@ -704,7 +704,7 @@ let i = all_storages.try_run(sys1).unwrap(); &'s self, s: S, ) -> Result { - Ok(s.run({ S::try_borrow(self)? })) + Ok(s.run(S::try_borrow(self)?)) } #[doc = "Borrows the requested storages and runs the function.