Skip to content

Commit f1a945d

Browse files
committed
Fix sentence in process::abort
1 parent 5545959 commit f1a945d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

library/std/src/process.rs

+2-4
Original file line numberDiff line numberDiff line change
@@ -2318,10 +2318,8 @@ pub fn exit(code: i32) -> ! {
23182318
/// Terminates the process in an abnormal fashion.
23192319
///
23202320
/// The function will never return and will immediately terminate the current
2321-
/// process in a platform specific "abnormal" manner.
2322-
///
2323-
/// Note that because this function never returns, and that it terminates the
2324-
/// process, no destructors on the current stack or any other thread's stack
2321+
/// process in a platform specific "abnormal" manner. Therefore,
2322+
/// no destructors on the current stack or any other thread's stack
23252323
/// will be run.
23262324
///
23272325
/// Rust IO buffers (eg, from `BufWriter`) will not be flushed.

0 commit comments

Comments
 (0)