Skip to content

Commit 216e72f

Browse files
Remove unneeded #[lang = "iterator"]
1 parent d70ab2b commit 216e72f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libcore/iter.rs

-1
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,6 @@ fn _assert_is_object_safe(_: &Iterator<Item=()>) {}
321321
///
322322
/// [module-level documentation]: index.html
323323
/// [impl]: index.html#implementing-iterator
324-
#[lang = "iterator"]
325324
#[stable(feature = "rust1", since = "1.0.0")]
326325
#[rustc_on_unimplemented = "`{Self}` is not an iterator; maybe try calling \
327326
`.iter()` or a similar method"]

0 commit comments

Comments
 (0)