1
0
mirror of https://github.com/fafhrd91/actix-web synced 2025-01-18 22:01:50 +01:00

remove debug logs

This commit is contained in:
Rob Ede 2022-01-20 01:30:05 +00:00
parent f2e736719a
commit 68ad81f989
No known key found for this signature in database
GPG Key ID: 97C636207D3EF933
2 changed files with 2 additions and 10 deletions

View File

@ -102,14 +102,8 @@ impl AppService {
InitError = (), InitError = (),
> + 'static, > + 'static,
{ {
dbg!(rdef.pattern()); self.services
.push((rdef, boxed::factory(factory.into_factory()), guards, nested));
self.services.push((
rdef,
boxed::factory(factory.into_factory()),
guards,
dbg!(nested),
));
} }
} }

View File

@ -700,7 +700,6 @@ mod tests {
Ok(()) Ok(())
}; };
let s = format!("{}", FormatDisplay(&render)); let s = format!("{}", FormatDisplay(&render));
println!("{}", s);
assert!(s.contains("/test/route/yeah")); assert!(s.contains("/test/route/yeah"));
} }
@ -794,7 +793,6 @@ mod tests {
Ok(()) Ok(())
}; };
let s = format!("{}", FormatDisplay(&render)); let s = format!("{}", FormatDisplay(&render));
println!("{}", s);
assert!(s.contains("192.0.2.60")); assert!(s.contains("192.0.2.60"));
} }