Talk about "terminate" rather than "die"
Adapted from a suggestion by @m-ou-se. Co-authored-by: Mara Bos <m-ou.se@m-ou.se> Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
This commit is contained in:
parent
44852e0603
commit
19c347ede9
1 changed files with 1 additions and 1 deletions
|
@ -723,7 +723,7 @@ extern "rust-intrinsic" {
|
|||
/// The current implementation of `intrinsics::abort` is to invoke an invalid instruction,
|
||||
/// on most platforms.
|
||||
/// On Unix, the
|
||||
/// process will probably die of a signal like `SIGABRT`, `SIGILL`, `SIGTRAP`, `SIGSEGV` or
|
||||
/// process will probably terminate with a signal like `SIGABRT`, `SIGILL`, `SIGTRAP`, `SIGSEGV` or
|
||||
/// `SIGBUS`. The precise behaviour is not guaranteed and not stable.
|
||||
pub fn abort() -> !;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue