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

View File

@@ -1057,7 +1057,7 @@ pub trait Iterator {
/// # #![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")]