mirror of
https://github.com/fafhrd91/actix-net
synced 2025-01-31 07:02:08 +01:00
address clippy error (#213)
This commit is contained in:
parent
4cc1c87724
commit
59e976aaca
@ -134,10 +134,7 @@ impl Arbiter {
|
||||
.unbounded_send(SystemCommand::RegisterArbiter(id, arb));
|
||||
|
||||
// run loop
|
||||
let _ = match rt.block_on(stop_rx) {
|
||||
Ok(code) => code,
|
||||
Err(_) => 1,
|
||||
};
|
||||
let _ = rt.block_on(stop_rx).unwrap_or(1);
|
||||
|
||||
// unregister arbiter
|
||||
let _ = System::current()
|
||||
|
Loading…
x
Reference in New Issue
Block a user