Skip to content

Commit d4480b6

Browse files
committed
bugfix: Silence clippy
This PR suppresses the "unreachable_patterns" warning. Signed-off-by: John Nunley <[email protected]>
1 parent 3065c37 commit d4480b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/task.rs

+1
Original file line numberDiff line numberDiff line change
@@ -392,6 +392,7 @@ impl<T, M> Task<T, M> {
392392
// Propagate the panic if the task panicked.
393393
let output = match output {
394394
Ok(output) => output,
395+
#[allow(unreachable_patterns)]
395396
Err(panic) => {
396397
#[cfg(feature = "std")]
397398
std::panic::resume_unwind(panic);

0 commit comments

Comments
 (0)