From 68ad81f9891fa95252755580dac1da9169035f56 Mon Sep 17 00:00:00 2001 From: Rob Ede Date: Thu, 20 Jan 2022 01:30:05 +0000 Subject: [PATCH] remove debug logs --- src/config.rs | 10 ++-------- src/middleware/logger.rs | 2 -- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/config.rs b/src/config.rs index 9fe75df97..77fba18ed 100644 --- a/src/config.rs +++ b/src/config.rs @@ -102,14 +102,8 @@ impl AppService { InitError = (), > + 'static, { - dbg!(rdef.pattern()); - - self.services.push(( - rdef, - boxed::factory(factory.into_factory()), - guards, - dbg!(nested), - )); + self.services + .push((rdef, boxed::factory(factory.into_factory()), guards, nested)); } } diff --git a/src/middleware/logger.rs b/src/middleware/logger.rs index 969cb0c10..63055ecba 100644 --- a/src/middleware/logger.rs +++ b/src/middleware/logger.rs @@ -700,7 +700,6 @@ mod tests { Ok(()) }; let s = format!("{}", FormatDisplay(&render)); - println!("{}", s); assert!(s.contains("/test/route/yeah")); } @@ -794,7 +793,6 @@ mod tests { Ok(()) }; let s = format!("{}", FormatDisplay(&render)); - println!("{}", s); assert!(s.contains("192.0.2.60")); }