about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorNick Cameron <ncameron@mozilla.com>2015-04-10 12:25:40 +1200
committerNick Cameron <ncameron@mozilla.com>2015-04-14 21:55:42 +1200
commit73c2e768d6ba55bdfb8292320ebac00e69ca2e42 (patch)
treefb6f8a5f718bcaa8729d21a4f2526604a17d8994 /src/libcore
parent4e8e64140ff60d1a20d7e54369db714a9fcd8b96 (diff)
downloadrust-73c2e768d6ba55bdfb8292320ebac00e69ca2e42.tar.gz
rust-73c2e768d6ba55bdfb8292320ebac00e69ca2e42.zip
Rebased
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 9f378748d20..c756d3cb9c2 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -70,7 +70,7 @@ use option::Option::{self, Some, None};
 use marker::Sized;
 use usize;
 
-fn _assert_is_object_safe(_: &Iterator) {}
+fn _assert_is_object_safe(_: &Iterator<Item=()>) {}
 
 /// An interface for dealing with "external iterators". These types of iterators
 /// can be resumed at any time as all state is stored internally as opposed to