We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90bb07e commit cefe9b0Copy full SHA for cefe9b0
src/libcore/mem.rs
@@ -1269,7 +1269,7 @@ impl<T> MaybeUninit<T> {
1269
/// let x_vec = unsafe { &mut *x.as_mut_ptr() };
1270
/// // We have created a reference to an uninitialized vector! This is undefined behavior.
1271
/// ```
1272
- /// (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
1273
/// until they are, it is advisable to avoid them.)
1274
#[unstable(feature = "maybe_uninit", issue = "53491")]
1275
#[inline(always)]
0 commit comments