Skip to content

Commit db94dbc

Browse files
committed
Fix comment on the SEH personality function
1 parent 8818b00 commit db94dbc

File tree

1 file changed

+2
-2
lines changed
  • library/panic_unwind/src

1 file changed

+2
-2
lines changed

library/panic_unwind/src/seh.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,8 @@ pub unsafe fn cleanup(payload: *mut u8) -> Box<dyn Any + Send> {
325325
}
326326

327327
// This is required by the compiler to exist (e.g., it's a lang item), but
328-
// it's never actually called by the compiler because __C_specific_handler
329-
// or _except_handler3 is the personality function that is always used.
328+
// it's never actually called by the compiler because _CxxFrameHandler3
329+
// is the personality function that is always used.
330330
// Hence this is just an aborting stub.
331331
#[lang = "eh_personality"]
332332
#[cfg(not(test))]

0 commit comments

Comments
 (0)