Skip to content

Commit 6a85584

Browse files
committed
remove begin prefix
1 parent d52b3bb commit 6a85584

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/src/panicking.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ pub fn panicking() -> bool {
627627
/// Entry point of panics from the core crate (`panic_impl` lang item).
628628
#[cfg(not(any(test, doctest)))]
629629
#[panic_handler]
630-
pub fn begin_panic_handler(info: &core::panic::PanicInfo<'_>) -> ! {
630+
pub fn panic_handler(info: &core::panic::PanicInfo<'_>) -> ! {
631631
struct FormatStringPayload<'a> {
632632
inner: &'a core::panic::PanicMessage<'a>,
633633
string: Option<String>,

0 commit comments

Comments
 (0)