Skip to content

Commit

Permalink
Fix clippy suggestion
Browse files Browse the repository at this point in the history
Fix clippy suggestion

Signed-off-by: James Sturtevant <[email protected]>
  • Loading branch information
jsturtevant committed Mar 21, 2024
1 parent b673542 commit ce203fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/asynchronous/shutdown.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ mod test {
});
notifier.shutdown();
// Elapsed
assert!(matches!(notifier.wait_all_exit().await, Err(_)));
assert!(notifier.wait_all_exit().await.is_err());
task.await.unwrap();
}
}

0 comments on commit ce203fc

Please sign in to comment.