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:
parent
f2e736719a
commit
68ad81f989
@ -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),
|
|
||||||
));
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user