mirror of
https://github.com/actix/actix-web.git
synced 2024-12-22 16:16:40 +00:00
remove debug prints
This commit is contained in:
parent
a9c6c57a67
commit
d664993d56
1 changed files with 0 additions and 3 deletions
|
@ -211,8 +211,6 @@ impl Resource {
|
||||||
let (pattern, elements, is_dynamic, len) =
|
let (pattern, elements, is_dynamic, len) =
|
||||||
Resource::parse(path, prefix, for_prefix);
|
Resource::parse(path, prefix, for_prefix);
|
||||||
|
|
||||||
println!("ELEMENT: {:?} {:?} {:?}", pattern, elements, is_dynamic);
|
|
||||||
|
|
||||||
let tp = if is_dynamic {
|
let tp = if is_dynamic {
|
||||||
let re = match Regex::new(&pattern) {
|
let re = match Regex::new(&pattern) {
|
||||||
Ok(re) => re,
|
Ok(re) => re,
|
||||||
|
@ -344,7 +342,6 @@ impl Resource {
|
||||||
let mut path = String::new();
|
let mut path = String::new();
|
||||||
let mut iter = elements.into_iter();
|
let mut iter = elements.into_iter();
|
||||||
for el in &self.elements {
|
for el in &self.elements {
|
||||||
println!("EL: {:?}", el);
|
|
||||||
match *el {
|
match *el {
|
||||||
PatternElement::Str(ref s) => path.push_str(s),
|
PatternElement::Str(ref s) => path.push_str(s),
|
||||||
PatternElement::Var(_) => {
|
PatternElement::Var(_) => {
|
||||||
|
|
Loading…
Reference in a new issue