We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b205ee4 commit 3a0226dCopy full SHA for 3a0226d
core/src/panicking.rs
@@ -100,8 +100,8 @@ pub const fn const_panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
100
if let Some(msg) = fmt.as_str() {
101
panic_str(msg);
102
} else {
103
- // SAFETY: This is only evaluated at compile time, which handles this
104
- // fine (in case it turns out this branch turns out to be reachable
+ // SAFETY: This is only evaluated at compile time, which reliably
+ // handles this UB (in case this branch turns out to be reachable
105
// somehow).
106
unsafe { crate::hint::unreachable_unchecked() };
107
}
0 commit comments