Skip to content

Commit

Permalink
fix(no_std): fix warning in resume_unwind
Browse files Browse the repository at this point in the history
Signed-off-by: Eliza Weisman <[email protected]>
  • Loading branch information
hawkw committed Apr 11, 2022
1 parent cbf943a commit f8d9527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/panic.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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!")
}
}

0 comments on commit f8d9527

Please sign in to comment.