We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4468924 commit f9298a7Copy full SHA for f9298a7
core/src/coroutine/korosensei.rs
@@ -58,7 +58,7 @@ impl<'c, Param, Yield, Return> Coroutine<'c, Param, Yield, Return> {
58
target_arch = "x86",
59
))] {
60
let sp = context.uc_mcontext.gregs[usize::try_from(libc::REG_ESP)
61
- .unwrap_or_else(|| panic!("{} overflow", libc::REG_ESP))].try_into().unwrap();
+ .unwrap_or_else(|_| panic!("{} overflow", libc::REG_ESP))].try_into().unwrap();
62
} else if #[cfg(all(target_vendor = "apple", target_arch = "x86_64"))] {
63
let sp = u64::try_from((*context.uc_mcontext).__ss.__rsp).expect("overflow");
64
} else if #[cfg(all(
0 commit comments