Skip to content

Commit 7926c64

Browse files
authored
Rollup merge of #73738 - nbdd0121:comment, r=nikomatsakis
Remove irrelevant comment Iterator is no longer a lang item since 216e72f.
2 parents 83f6d0a + f9af59d commit 7926c64

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/libcore/option.rs

-5
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,6 @@ use crate::{
142142
ops::{self, Deref, DerefMut},
143143
};
144144

145-
// Note that this is not a lang item per se, but it has a hidden dependency on
146-
// `Iterator`, which is one. The compiler assumes that the `next` method of
147-
// `Iterator` is an enumeration with one type parameter and two variants,
148-
// which basically means it must be `Option`.
149-
150145
/// The `Option` type. See [the module level documentation](index.html) for more.
151146
#[derive(Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)]
152147
#[rustc_diagnostic_item = "option_type"]

0 commit comments

Comments
 (0)