From 9f2ab2105f01b356b59afb42ec4e9cf1adee59b2 Mon Sep 17 00:00:00 2001 From: flip111 Date: Sun, 17 Feb 2019 12:30:30 +0000 Subject: [PATCH] Update panicking.md non-standard program sounds like it wouldn't be a normal program --- src/start/panicking.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/start/panicking.md b/src/start/panicking.md index 9e7626b7..4b2f24a7 100644 --- a/src/start/panicking.md +++ b/src/start/panicking.md @@ -8,11 +8,11 @@ In the standard library panicking has a defined behavior: it unwinds the stack of the panicking thread, unless the user opted for aborting the program on panics. -In non-standard programs, however, the panicking behavior is left undefined. A -behavior can be chosen by declaring a `#[panic_handler]` function. This function -must appear exactly *once* in the dependency graph of a program, and must have -the following signature: `fn(&PanicInfo) -> !`, where [`PanicInfo`] is a struct -containing information about the location of the panic. +In programs without standard library, however, the panicking behavior is left +undefined. A behavior can be chosen by declaring a `#[panic_handler]` function. +This function must appear exactly *once* in the dependency graph of a program, +and must have the following signature: `fn(&PanicInfo) -> !`, where [`PanicInfo`] +is a struct containing information about the location of the panic. [`PanicInfo`]: https://doc.rust-lang.org/core/panic/struct.PanicInfo.html