File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,10 +309,10 @@ pub mod panic_count {
309
309
// records whether panic::always_abort() has been called. This can only be
310
310
// set, never cleared.
311
311
// panic::always_abort() is usually called to prevent memory allocations done by
312
- // the panic handling in the child created by `libc::fork`.
312
+ // the panic handling in the child created by `libc::fork`.
313
313
// Memory allocations performed in a child created with `libc::fork` are undefined
314
314
// behavior in most operating systems.
315
- // Accessing LOCAL_PANIC_COUNT in a child created by `libc::fork` would lead to a memory
315
+ // Accessing LOCAL_PANIC_COUNT in a child created by `libc::fork` would lead to a memory
316
316
// allocation. Only GLOBAL_PANIC_COUNT can be accessed in this situation. This is
317
317
// sufficient because a child process will always have exactly one thread only.
318
318
// See also #85261 for details.
You can’t perform that action at this time.
0 commit comments