diff options
| author | Kivooeo <Kivooeo123@gmail.com> | 2025-08-03 17:59:37 +0500 |
|---|---|---|
| committer | Kivooeo <Kivooeo123@gmail.com> | 2025-08-03 17:59:37 +0500 |
| commit | 754654d5a98a81a2f4f033a1cf4b2f9e7bb55f06 (patch) | |
| tree | 54951d35e434e46b086d850d10a488d1aae03b42 /library/std/src/panic.rs | |
| parent | 889701db1ff614160314734fe4138c2f820a95bb (diff) | |
| download | rust-754654d5a98a81a2f4f033a1cf4b2f9e7bb55f06.tar.gz rust-754654d5a98a81a2f4f033a1cf4b2f9e7bb55f06.zip | |
rename rust_panic_without_hook
Diffstat (limited to 'library/std/src/panic.rs')
| -rw-r--r-- | library/std/src/panic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> { /// ``` #[stable(feature = "resume_unwind", since = "1.9.0")] pub fn resume_unwind(payload: Box<dyn Any + Send>) -> ! { - panicking::rust_panic_without_hook(payload) + panicking::resume_unwind(payload) } /// Makes all future panics abort directly without running the panic hook or unwinding. |
