Skip to content

Commit 667bba4

Browse files
committed
Fix typo.
1 parent 0d07b4c commit 667bba4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/panicking.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ fn panic_in_cleanup() -> ! {
234234
#[rustc_const_unstable(feature = "core_panic", issue = "none")]
235235
pub const fn const_panic_fmt(fmt: fmt::Arguments<'_>) -> ! {
236236
if let Some(msg) = fmt.as_str() {
237-
// The panic_display function is hooked by conost eval.
237+
// The panic_display function is hooked by const eval.
238238
panic_display(&msg);
239239
} else {
240240
// SAFETY: This is only evaluated at compile time, which reliably

0 commit comments

Comments
 (0)