1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-24 00:21:08 +01:00

remove debug prints

This commit is contained in:
Nikolay Kim 2018-06-02 11:57:49 -07:00
parent dcb561584d
commit 3c472a2f66

View File

@ -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,
@ -347,7 +345,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(_) => {