From 187a58472dbe2a8ad256c03a92186f7bcf44a4a7 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Sat, 4 Apr 2020 23:57:52 +0100 Subject: [PATCH] fix noisy check warning --- router/src/url.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/router/src/url.rs b/router/src/url.rs index 1c068199..189a9e80 100644 --- a/router/src/url.rs +++ b/router/src/url.rs @@ -31,7 +31,7 @@ fn set_bit(array: &mut [u8], ch: u8) { } thread_local! { - static DEFAULT_QUOTER: Quoter = { Quoter::new(b"@:", b"/+") }; + static DEFAULT_QUOTER: Quoter = Quoter::new(b"@:", b"/+"); } #[derive(Default, Clone, Debug)]