Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhenrymantilla authored Sep 23, 2024
1 parent 6e581ab commit 02e21ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/closures/node_js.rs
Original file line number Diff line number Diff line change
Expand Up @@ -562,7 +562,7 @@ macro_rules! impls {(
) -> CRet
{
// We set up an `on_unwind` guard, except if we're already being invoked
// from within a panicking context, which confuses the the `on_unwind` heuristic
// from within a panicking context, which confuses the `on_unwind` heuristic
// of `::scopeguard`. Since in that case, any extra panic already triggers an abort,
// we can then just have the guard do nothing.
let _abort_on_unwind = ::std::thread::panicking().not().then(|| {
Expand Down

0 comments on commit 02e21ff

Please sign in to comment.