diff options
| author | Ed Morley <501702+edmorley@users.noreply.github.com> | 2021-11-11 13:41:21 +0000 |
|---|---|---|
| committer | Ed Morley <501702+edmorley@users.noreply.github.com> | 2021-11-11 13:41:21 +0000 |
| commit | b41b2e5a5cb9aa3d56dd2da23c2438d16fef9997 (patch) | |
| tree | 5bbc519f1f8c0513572706bde8d2065fca42d268 /library/std/src/sys/unix/kernel_copy.rs | |
| parent | 62efba8a050c64249dab942951bb28f710208bc8 (diff) | |
| download | rust-b41b2e5a5cb9aa3d56dd2da23c2438d16fef9997.tar.gz rust-b41b2e5a5cb9aa3d56dd2da23c2438d16fef9997.zip | |
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 in the same style as currently used for `unimplemented!`:
https://doc.rust-lang.org/core/macro.unimplemented.html#panics
Diffstat (limited to 'library/std/src/sys/unix/kernel_copy.rs')
0 files changed, 0 insertions, 0 deletions
