Skip to content

Commit 2a066bd

Browse files
authored
Fix sentence in process::abort
1 parent 5545959 commit 2a066bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

library/std/src/process.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -2320,8 +2320,8 @@ pub fn exit(code: i32) -> ! {
23202320
/// The function will never return and will immediately terminate the current
23212321
/// process in a platform specific "abnormal" manner.
23222322
///
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
2323+
/// Note that because this function never returns and terminates the process,
2324+
/// no destructors on the current stack or any other thread's stack
23252325
/// will be run.
23262326
///
23272327
/// Rust IO buffers (eg, from `BufWriter`) will not be flushed.

0 commit comments

Comments
 (0)