mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-26 13:54:06 +00:00
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
@ -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…
Reference in New Issue
Block a user