core: fix typo that wasn't caught by the hacky previous implementation.

This commit is contained in:
Eduard Burtescu 2015-02-11 21:01:03 +02:00
parent fe4f9b8e3a
commit 6700166442

View File

@ -981,7 +981,7 @@ pub trait IteratorExt: Iterator + Sized {
#[unstable(feature = "core", reason = "recent addition")]
fn cloned(self) -> Cloned<Self> where
Self::Item: Deref,
<Self::Item as Deref>::Output: Clone,
<Self::Item as Deref>::Target: Clone,
{
Cloned { it: self }
}