We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5a2af97 + ecd9307 commit 729c31bCopy full SHA for 729c31b
src/liballoc/vec.rs
@@ -92,7 +92,7 @@ use crate::raw_vec::RawVec;
92
/// vec[0] = 7;
93
/// assert_eq!(vec[0], 7);
94
///
95
-/// vec.extend([1, 2, 3].iter().cloned());
+/// vec.extend([1, 2, 3].iter().copied());
96
97
/// for x in &vec {
98
/// println!("{}", x);
0 commit comments