File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -2318,14 +2318,10 @@ pub fn exit(code: i32) -> ! {
2318
2318
/// Terminates the process in an abnormal fashion.
2319
2319
///
2320
2320
/// 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
2325
- /// will be run.
2326
- ///
2327
- /// Rust IO buffers (eg, from `BufWriter`) will not be flushed.
2328
- /// Likewise, C stdio buffers will (on most platforms) not be flushed.
2321
+ /// process in a platform specific "abnormal" manner. As a consequence,
2322
+ /// no destructors on the current stack or any other thread's stack
2323
+ /// will be run, Rust IO buffers (eg, from `BufWriter`) will not be flushed,
2324
+ /// and C stdio buffers will (on most platforms) not be flushed.
2329
2325
///
2330
2326
/// This is in contrast to the default behavior of [`panic!`] which unwinds
2331
2327
/// the current thread's stack and calls all destructors.
You can’t perform that action at this time.
0 commit comments