We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 29437d9 + ce94773 commit 7ed7f65Copy full SHA for 7ed7f65
library/core/src/slice/index.rs
@@ -138,7 +138,7 @@ mod private_slice_index {
138
/// A helper trait used for indexing operations.
139
///
140
/// Implementations of this trait have to promise that if the argument
141
-/// to `get_(mut_)unchecked` is a safe reference, then so is the result.
+/// to `get_unchecked(_mut)` is a safe reference, then so is the result.
142
#[stable(feature = "slice_get_slice", since = "1.28.0")]
143
#[rustc_diagnostic_item = "SliceIndex"]
144
#[rustc_on_unimplemented(
0 commit comments