We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2582bbb commit 4b1440aCopy full SHA for 4b1440a
core/src/slice/mod.rs
@@ -156,7 +156,7 @@ impl<T> [T] {
156
if let [first, ..] = self { Some(first) } else { None }
157
}
158
159
- /// Returns a mutable pointer to the first element of the slice, or `None` if it is empty.
+ /// Returns a mutable reference to the first element of the slice, or `None` if it is empty.
160
///
161
/// # Examples
162
0 commit comments