Skip to content

Commit 94fc4f2

Browse files
committed
core: fix typo that wasn't caught by the hacky previous implementation.
1 parent fc5fe7f commit 94fc4f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/iter.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -970,7 +970,7 @@ pub trait IteratorExt: Iterator + Sized {
970970
#[unstable(feature = "core", reason = "recent addition")]
971971
fn cloned(self) -> Cloned<Self> where
972972
Self::Item: Deref,
973-
<Self::Item as Deref>::Output: Clone,
973+
<Self::Item as Deref>::Target: Clone,
974974
{
975975
Cloned { it: self }
976976
}

0 commit comments

Comments
 (0)