diff --git a/src/util/panic.rs b/src/util/panic.rs index dafa2f3..0a51a08 100644 --- a/src/util/panic.rs +++ b/src/util/panic.rs @@ -21,7 +21,7 @@ mod inner { Ok(f()) } - pub(crate) fn resume_unwind(payload: ()) -> ! { + pub(crate) fn resume_unwind(_: ()) -> ! { unreachable_unchecked!("code compiled with no_std cannot unwind!") } }