mirror of
https://github.com/fafhrd91/actix-net
synced 2024-11-24 01:11:07 +01:00
remove debug prints
This commit is contained in:
parent
059e2ad042
commit
a14f612382
@ -1,5 +1,9 @@
|
||||
# Changes
|
||||
|
||||
## [0.1.5] - 2019-05-15
|
||||
|
||||
* Remove debug prints
|
||||
|
||||
## [0.1.4] - 2019-05-15
|
||||
|
||||
* Fix checked resource match
|
||||
|
@ -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"]
|
||||
|
@ -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())));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user