mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
5b3cb68d97
Document `unreachable!` custom panic message The `unreachable!` docs previously did not mention that there was a second form, `unreachable!("message")` that could be used to specify a custom panic message, The docs now mention this feature in the same wording as currently used for `unimplemented!`: https://doc.rust-lang.org/core/macro.unimplemented.html#panics |
||
---|---|---|
.. | ||
benches | ||
primitive_docs | ||
src | ||
tests | ||
Cargo.toml |