mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
49966fedd6
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