Skip to content

Commit cefe9b0

Browse files
authored
Apply suggestions from code review
1 parent 90bb07e commit cefe9b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/mem.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1269,7 +1269,7 @@ impl<T> MaybeUninit<T> {
12691269
/// let x_vec = unsafe { &mut *x.as_mut_ptr() };
12701270
/// // We have created a reference to an uninitialized vector! This is undefined behavior.
12711271
/// ```
1272-
/// (Notice that the rules around referenced to uninitialized data are not finalized yet, but
1272+
/// (Notice that the rules around references to uninitialized data are not finalized yet, but
12731273
/// until they are, it is advisable to avoid them.)
12741274
#[unstable(feature = "maybe_uninit", issue = "53491")]
12751275
#[inline(always)]

0 commit comments

Comments
 (0)