doc: cloned() and mut not needed

This commit is contained in:
Tshepang Lekhonkhobe
2015-05-24 22:55:34 +02:00
parent ba0e1cd814
commit 02b951f66c
+1 -1
View File
@@ -1057,7 +1057,7 @@ fn reverse_in_place<'a, T: 'a>(&mut self) where
/// # #![feature(core)]
///
/// let a = [1, 2, 3, 4, 5];
/// let mut it = a.iter().cloned();
/// let it = a.iter();
/// assert_eq!(it.sum::<i32>(), 15);
/// ```
#[unstable(feature="core")]