diff --git a/router/CHANGES.txt b/router/CHANGES.txt index 5d05d2cc..516048d7 100644 --- a/router/CHANGES.txt +++ b/router/CHANGES.txt @@ -1,5 +1,9 @@ # Changes +## [0.1.5] - 2019-05-15 + +* Remove debug prints + ## [0.1.4] - 2019-05-15 * Fix checked resource match diff --git a/router/Cargo.toml b/router/Cargo.toml index 29b21081..d9e18314 100644 --- a/router/Cargo.toml +++ b/router/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "actix-router" -version = "0.1.4" +version = "0.1.5" authors = ["Nikolay Kim "] description = "Path router" keywords = ["actix"] diff --git a/router/src/router.rs b/router/src/router.rs index 1e3c652c..0faa27be 100644 --- a/router/src/router.rs +++ b/router/src/router.rs @@ -55,11 +55,8 @@ impl Router { R: Resource

, P: ResourcePath, { - println!("router ==== {:?}", self.0.len()); for item in self.0.iter_mut() { - println!("1"); if item.0.match_path_checked(resource, &check, &item.2) { - println!("lll"); return Some((&mut item.1, ResourceId(item.0.id()))); } }