about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorGary Guo <gary@garyguo.net>2020-06-25 23:08:58 +0100
committerGary Guo <gary@garyguo.net>2020-06-25 23:08:58 +0100
commitf9af59def21ed0a2e540dde90779a87d0a802332 (patch)
treefe71ae073fac2b12b3301f7d785257e88f2f2837 /src/libcore
parent50fc24d8a172a853b5dfe40702d6550e3b8562ba (diff)
downloadrust-f9af59def21ed0a2e540dde90779a87d0a802332.tar.gz
rust-f9af59def21ed0a2e540dde90779a87d0a802332.zip
Remove irrelevant comment
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/option.rs5
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"]