1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 20:10:35 +02: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

@ -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())));
}
}