Skip to content

Commit d0b0250

Browse files
committed
fix: clippy
1 parent 18dc4e5 commit d0b0250

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

iroh-willow/src/engine/actor.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -229,10 +229,8 @@ impl Drop for ActorHandle {
229229
let shutdown = move || {
230230
if let Err(err) = inbox_tx.blocking_send(Input::Shutdown { reply: None }) {
231231
warn!(?err, "Failed to send shutdown");
232-
} else {
233-
if let Err(err) = handle.join() {
234-
warn!(?err, "Failed to join sync actor");
235-
}
232+
} else if let Err(err) = handle.join() {
233+
warn!(?err, "Failed to join sync actor");
236234
}
237235
};
238236

0 commit comments

Comments
 (0)