File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ impl<T: Sized> NonNull<T> {
9898 }
9999 }
100100
101- /// Returns a shared references to the value. In contrast to [`as_ref`], this does not require
101+ /// Returns a shared reference to the value. In contrast to [`as_ref`], this does not require
102102 /// that the value has to be initialized.
103103 ///
104104 /// For the mutable counterpart see [`as_uninit_mut`].
@@ -132,7 +132,7 @@ impl<T: Sized> NonNull<T> {
132132 unsafe { & * self . cast ( ) . as_ptr ( ) }
133133 }
134134
135- /// Returns a unique references to the value. In contrast to [`as_mut`], this does not require
135+ /// Returns a unique reference to the value. In contrast to [`as_mut`], this does not require
136136 /// that the value has to be initialized.
137137 ///
138138 /// For the shared counterpart see [`as_uninit_ref`].
You can’t perform that action at this time.
0 commit comments