From 19c347ede96a439cc7045f23b7e087a17ac6bd0a Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Jun 2021 12:12:53 +0100 Subject: [PATCH] Talk about "terminate" rather than "die" Adapted from a suggestion by @m-ou-se. Co-authored-by: Mara Bos Signed-off-by: Ian Jackson --- library/core/src/intrinsics.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/intrinsics.rs b/library/core/src/intrinsics.rs index 57508c18692..7391992ca09 100644 --- a/library/core/src/intrinsics.rs +++ b/library/core/src/intrinsics.rs @@ -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() -> !;