about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-02-25 10:27:03 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-02-25 10:27:03 +0530
commit9692f3bc941795dafac998294cc4e50e78efb4b5 (patch)
tree1d5500407aadb3655b0820685e9ad6e947e373f2 /src/libcore
parentb711b6a5b2bc52ca27d75d5031239dbac92e42e2 (diff)
parent848a7e692102643d99bb208b5a64199b6d6d87a1 (diff)
downloadrust-9692f3bc941795dafac998294cc4e50e78efb4b5.tar.gz
rust-9692f3bc941795dafac998294cc4e50e78efb4b5.zip
Rollup merge of #22635 - kmcallister:macros-chapter, r=steveklabnik
 r? @steveklabnik
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/iter.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index 6d8e04d97dd..b4ccf930437 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -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 }
     }