Apply suggestions from code review

This commit is contained in:
Ralf Jung 2019-03-06 20:02:50 +01:00 committed by GitHub
parent 90bb07eca6
commit cefe9b09c1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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