about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-01-10 16:54:04 +0100
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2016-01-10 16:54:04 +0100
commit216e72f8d9499d012e23bc4563215e693fcb4f35 (patch)
tree61d8601410144603fa5e77bfa4e07eef20d7a8fb
parentd70ab2bdf16c22b9f3ff0230089b44855e3f1593 (diff)
downloadrust-216e72f8d9499d012e23bc4563215e693fcb4f35.tar.gz
rust-216e72f8d9499d012e23bc4563215e693fcb4f35.zip
Remove unneeded #[lang = "iterator"]
-rw-r--r--src/libcore/iter.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libcore/iter.rs b/src/libcore/iter.rs
index a30e5b1372a..c3bea050558 100644
--- a/src/libcore/iter.rs
+++ b/src/libcore/iter.rs
@@ -321,7 +321,6 @@ fn _assert_is_object_safe(_: &Iterator<Item=()>) {}
 ///
 /// [module-level documentation]: index.html
 /// [impl]: index.html#implementing-iterator
-#[lang = "iterator"]
 #[stable(feature = "rust1", since = "1.0.0")]
 #[rustc_on_unimplemented = "`{Self}` is not an iterator; maybe try calling \
                             `.iter()` or a similar method"]