1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 22:51:07 +01:00

remove debug prints

This commit is contained in:
Nikolay Kim 2019-05-15 10:29:10 -07:00
parent 059e2ad042
commit a14f612382
3 changed files with 5 additions and 4 deletions

View File

@ -1,5 +1,9 @@
# Changes
## [0.1.5] - 2019-05-15
* Remove debug prints
## [0.1.4] - 2019-05-15
* Fix checked resource match

View File

@ -1,6 +1,6 @@
[package]
name = "actix-router"
version = "0.1.4"
version = "0.1.5"
authors = ["Nikolay Kim <fafhrd91@gmail.com>"]
description = "Path router"
keywords = ["actix"]

View File

@ -55,11 +55,8 @@ impl<T, U> Router<T, U> {
R: Resource<P>,
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())));
}
}