We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d07b4c commit 667bba4Copy full SHA for 667bba4
library/core/src/panicking.rs
@@ -234,7 +234,7 @@ fn panic_in_cleanup() -> ! {
234
#[rustc_const_unstable(feature = "core_panic", issue = "none")]
235
pub const fn const_panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
236
if let Some(msg) = fmt.as_str() {
237
- // The panic_display function is hooked by conost eval.
+ // The panic_display function is hooked by const eval.
238
panic_display(&msg);
239
} else {
240
// SAFETY: This is only evaluated at compile time, which reliably
0 commit comments