rust/library/core
Matthias Krüger 5b3cb68d97
Rollup merge of #90798 - edmorley:doc-unreachable-custom-message, r=dtolnay
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
2021-11-12 19:17:33 +01:00
..
benches Auto merge of #88788 - falk-hueffner:speedup-int-log10-branchless, r=joshtriplett 2021-10-12 03:18:54 +00:00
primitive_docs Add primitive documentation to libcore 2021-09-12 02:23:08 +00:00
src Rollup merge of #90798 - edmorley:doc-unreachable-custom-message, r=dtolnay 2021-11-12 19:17:33 +01:00
tests Rollup merge of #89951 - ojeda:stable-unwrap_unchecked, r=dtolnay 2021-10-31 09:20:27 +01:00
Cargo.toml