1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-27 00:27:43 +02:00

prepare actix-utils release

This commit is contained in:
Nikolay Kim
2019-03-04 19:45:17 -08:00
parent 8c48bf4de7
commit 700abc997e
2 changed files with 2 additions and 3 deletions

View File

@ -224,7 +224,7 @@ mod tests {
let wait_time = Duration::from_millis(150);
let res = actix_rt::System::new("test").block_on(lazy(|| {
let timeout = BlankNewService::<_, _, ()>::default()
let timeout = BlankNewService::<(), (), ()>::default()
.apply(Timeout::new(resolution), || Ok(SleepService(wait_time)));
if let Async::Ready(mut to) = timeout.new_service(&()).poll().unwrap() {
to.call(())