diff --git a/actix-rt/src/arbiter.rs b/actix-rt/src/arbiter.rs index 634fc0ed..25d007a2 100644 --- a/actix-rt/src/arbiter.rs +++ b/actix-rt/src/arbiter.rs @@ -100,7 +100,7 @@ impl ArbiterHandle { self.tx.send(ArbiterCommand::Stop).is_ok() } - /// Will wait for [Arbiter] to complete all commands up until it's Stop command is processed. + /// Will wait for associated [Arbiter] to complete all commands up until it is stopped. /// /// For [Arbiter]s that have already stopped, the future will resolve immediately. /// diff --git a/actix-rt/tests/test_arbiter.rs b/actix-rt/tests/test_arbiter.rs index 778ef6eb..4d49e510 100644 --- a/actix-rt/tests/test_arbiter.rs +++ b/actix-rt/tests/test_arbiter.rs @@ -5,15 +5,12 @@ use std::{ use actix_rt::{time, Arbiter, System}; - - #[test] #[should_panic] fn no_system_arbiter_new_panic() { Arbiter::new(); } - #[test] fn join_arbiter_wait_fut() { let time = Duration::from_secs(1);