We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7148412 commit 1f572b0Copy full SHA for 1f572b0
library/alloc/src/vec.rs
@@ -171,7 +171,9 @@ use crate::raw_vec::RawVec;
171
///
172
/// // ... and that's all!
173
/// // you can also do it like this:
174
-/// let u: &[usize] = &v; // or &[_]
+/// let u: &[usize] = &v;
175
+/// // or like this:
176
+/// let u: &[_] = &v;
177
/// ```
178
179
/// In Rust, it's more common to pass slices as arguments rather than vectors
0 commit comments