Skip to content

Commit

Permalink
Fix sentence in process::abort
Browse files Browse the repository at this point in the history
  • Loading branch information
hkBst committed Jan 28, 2025
1 parent 5545959 commit f1a945d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions library/std/src/process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2318,10 +2318,8 @@ pub fn exit(code: i32) -> ! {
/// Terminates the process in an abnormal fashion.
///
/// The function will never return and will immediately terminate the current
/// process in a platform specific "abnormal" manner.
///
/// Note that because this function never returns, and that it terminates the
/// process, no destructors on the current stack or any other thread's stack
/// process in a platform specific "abnormal" manner. Therefore,
/// no destructors on the current stack or any other thread's stack
/// will be run.
///
/// Rust IO buffers (eg, from `BufWriter`) will not be flushed.
Expand Down

0 comments on commit f1a945d

Please sign in to comment.