From 3153c560152f433205a9875ceb232626996c0a1a Mon Sep 17 00:00:00 2001 From: "Carpenter, Adam (CORP)" Date: Wed, 1 Dec 2021 13:25:56 -0500 Subject: chore: remove unused var warning with no angelsharkd extensions --- angelsharkd/src/routes/extensions/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'angelsharkd/src/routes/extensions') diff --git a/angelsharkd/src/routes/extensions/mod.rs b/angelsharkd/src/routes/extensions/mod.rs index 7f217d6..cada47f 100644 --- a/angelsharkd/src/routes/extensions/mod.rs +++ b/angelsharkd/src/routes/extensions/mod.rs @@ -8,7 +8,7 @@ mod simple_search; /// The extension filter; consists of all compiled optional Angelshark extension /// filters combined under `/extensions`. -pub fn filter(config: &Config) -> impl Filter + Clone { +pub fn filter(_config: &Config) -> impl Filter + Clone { // Note: this next line deals with the common edge case of having no // extensions loaded with feature flags. It ensures that the the type // checking is right when the return `.and()` is called below. @@ -17,7 +17,7 @@ pub fn filter(config: &Config) -> impl Filter