From 3f9db73a3c193eecfac142ecc40c48d9e4140591 Mon Sep 17 00:00:00 2001 From: acdenisSK Date: Tue, 1 Aug 2017 10:54:32 +0200 Subject: Clippy and rustfmt --- src/http/ratelimiting.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index dad5f7e..f0eb8fc 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -370,7 +370,8 @@ pub(crate) fn perform<'a, F>(route: Route, f: F) -> Result remaining: i64::MAX, reset: i64::MAX, })) - }).clone(); + }) + .clone(); let mut lock = bucket.lock().unwrap(); lock.pre_hook(&route); -- cgit v1.2.3