Skip to content

Commit 9fe51df

Browse files
committed
typo
1 parent ff12204 commit 9fe51df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/array/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ mod default_impls {
400400
{
401401
fn default() -> [T; N] {
402402
assert_eq!(std::mem::size_of::<[(); N]>(), 0);
403-
// SAFETY: it is always valid to use `ceroed` for zero-sized value.
403+
// SAFETY: it is always valid to use `zeroed` for zero-sized value.
404404
let arr: [(); N] = unsafe { std::mem::zeroed() };
405405
arr.map(DefaultHack::default_hack)
406406
}

0 commit comments

Comments
 (0)