From 754654d5a98a81a2f4f033a1cf4b2f9e7bb55f06 Mon Sep 17 00:00:00 2001 From: Kivooeo Date: Sun, 3 Aug 2025 17:59:37 +0500 Subject: rename rust_panic_without_hook --- library/std/src/panic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'library/std/src/panic.rs') diff --git a/library/std/src/panic.rs b/library/std/src/panic.rs index 234fb284a59..913ef72f674 100644 --- a/library/std/src/panic.rs +++ b/library/std/src/panic.rs @@ -388,7 +388,7 @@ pub fn catch_unwind R + UnwindSafe, R>(f: F) -> Result { /// ``` #[stable(feature = "resume_unwind", since = "1.9.0")] pub fn resume_unwind(payload: Box) -> ! { - panicking::rust_panic_without_hook(payload) + panicking::resume_unwind(payload) } /// Makes all future panics abort directly without running the panic hook or unwinding. -- cgit 1.4.1-3-g733a5