Files
rust/library
Stuart Cook 49966fedd6 Rollup merge of #153295 - biscuitrescue:fix-panicking-docs, r=tgross35
update panicking() docs for panic=abort

fixes rust-lang/rust#151458

The documentation for `std::thread::panicking()` has not been changed since v1.0, even though panic hooks were added in v1.10.
Current documentation is misleading for `panic=abort`

`panicking()` can return `true` in 2 different cases:
1. Thread unwinds due to panic
2. Panic hook is executing with `panic=abort`

r? @SpriteOvO
2026-03-04 11:54:11 +11:00
..
2026-01-26 10:57:35 +00:00
2026-02-22 19:59:25 +01:00
2026-02-25 22:51:53 +08:00
2026-02-22 19:59:25 +01:00
2026-01-26 10:59:16 +00:00