Skip to content

Commit b499e51

Browse files
Rollup merge of rust-lang#151005 - pr_doc_maybeuninit_typo, r=joboet
Fix typo in `MaybeUninit` docs –- → – (extra ASCII minus after endash) Introduced in rust-lang#140463 (11627f0).
2 parents a39c974 + 90b32e7 commit b499e51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/mem/maybe_uninit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ use crate::{fmt, intrinsics, ptr, slice};
256256
///
257257
/// # Validity
258258
///
259-
/// `MaybeUninit<T>` has no validity requirements –- any sequence of [bytes] of
259+
/// `MaybeUninit<T>` has no validity requirements – any sequence of [bytes] of
260260
/// the appropriate length, initialized or uninitialized, are a valid
261261
/// representation.
262262
///

0 commit comments

Comments
 (0)