From d664993d56ed213bd0841ba9d7968c2cde4ffd85 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Sat, 2 Jun 2018 11:57:49 -0700 Subject: [PATCH] remove debug prints --- src/router.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/router.rs b/src/router.rs index 2cd387698..2efc9431f 100644 --- a/src/router.rs +++ b/src/router.rs @@ -211,8 +211,6 @@ impl Resource { let (pattern, elements, is_dynamic, len) = Resource::parse(path, prefix, for_prefix); - println!("ELEMENT: {:?} {:?} {:?}", pattern, elements, is_dynamic); - let tp = if is_dynamic { let re = match Regex::new(&pattern) { Ok(re) => re, @@ -344,7 +342,6 @@ impl Resource { let mut path = String::new(); let mut iter = elements.into_iter(); for el in &self.elements { - println!("EL: {:?}", el); match *el { PatternElement::Str(ref s) => path.push_str(s), PatternElement::Var(_) => {