diff options
| author | Manish Goregaokar <manishsmail@gmail.com> | 2020-06-26 13:57:44 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-06-26 13:57:44 -0700 |
| commit | 7926c64642d070fe400dda1a53b4183f415d8445 (patch) | |
| tree | 41c496b867104dc2e496efebd21225e55723b67e /src/libcore | |
| parent | 83f6d0a93f8159fe18b4a9ccfaf395a0fbabf07c (diff) | |
| parent | f9af59def21ed0a2e540dde90779a87d0a802332 (diff) | |
| download | rust-7926c64642d070fe400dda1a53b4183f415d8445.tar.gz rust-7926c64642d070fe400dda1a53b4183f415d8445.zip | |
Rollup merge of #73738 - nbdd0121:comment, r=nikomatsakis
Remove irrelevant comment Iterator is no longer a lang item since 216e72f8d9499d012e23bc4563215e693fcb4f35.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/option.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 5f0a12678ff..7aca6af3de6 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -142,11 +142,6 @@ use crate::{ ops::{self, Deref, DerefMut}, }; -// Note that this is not a lang item per se, but it has a hidden dependency on -// `Iterator`, which is one. The compiler assumes that the `next` method of -// `Iterator` is an enumeration with one type parameter and two variants, -// which basically means it must be `Option`. - /// The `Option` type. See [the module level documentation](index.html) for more. #[derive(Copy, PartialEq, PartialOrd, Eq, Ord, Debug, Hash)] #[rustc_diagnostic_item = "option_type"] |
