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:
@ -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())));
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user