We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c44e29b + a44f43e commit 0466237Copy full SHA for 0466237
src/libcore/mem/mod.rs
@@ -456,7 +456,7 @@ pub unsafe fn zeroed<T>() -> T {
456
/// Bypasses Rust's normal memory-initialization checks by pretending to
457
/// produce a value of type `T`, while doing nothing at all.
458
///
459
-/// **This functon is deprecated.** Use [`MaybeUninit<T>`] instead.
+/// **This function is deprecated.** Use [`MaybeUninit<T>`] instead.
460
461
/// The reason for deprecation is that the function basically cannot be used
462
/// correctly: [the Rust compiler assumes][inv] that values are properly initialized.
0 commit comments