Skip to content

Commit 19c347e

Browse files
ijacksonm-ou-se
andcommitted
Talk about "terminate" rather than "die"
Adapted from a suggestion by @m-ou-se. Co-authored-by: Mara Bos <[email protected]> Signed-off-by: Ian Jackson <[email protected]>
1 parent 44852e0 commit 19c347e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/intrinsics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -723,7 +723,7 @@ extern "rust-intrinsic" {
723723
/// The current implementation of `intrinsics::abort` is to invoke an invalid instruction,
724724
/// on most platforms.
725725
/// On Unix, the
726-
/// process will probably die of a signal like `SIGABRT`, `SIGILL`, `SIGTRAP`, `SIGSEGV` or
726+
/// process will probably terminate with a signal like `SIGABRT`, `SIGILL`, `SIGTRAP`, `SIGSEGV` or
727727
/// `SIGBUS`. The precise behaviour is not guaranteed and not stable.
728728
pub fn abort() -> !;
729729

0 commit comments

Comments
 (0)