From ea72d05cf755d06d5c7da190e5d240fe4d77038c Mon Sep 17 00:00:00 2001 From: Zeyla Hellyer Date: Fri, 18 Aug 2017 20:50:23 -0700 Subject: Fix rustfmt lines that are too long Apparently rustfmt can't fix some of these, causing it to exit with 3 and therefore failing the build. --- src/http/ratelimiting.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/http') diff --git a/src/http/ratelimiting.rs b/src/http/ratelimiting.rs index 382661c..039f15d 100644 --- a/src/http/ratelimiting.rs +++ b/src/http/ratelimiting.rs @@ -89,7 +89,9 @@ lazy_static! { /// /// [`RateLimit`]: struct.RateLimit.html /// [`Route`]: enum.Route.html - pub static ref ROUTES: Arc>>>> = Arc::new(Mutex::new(HashMap::default())); + pub static ref ROUTES: Arc>>>> = { + Arc::new(Mutex::new(HashMap::default())) + }; } /// A representation of all routes registered within the library. These are safe -- cgit v1.2.3