From f9af59def21ed0a2e540dde90779a87d0a802332 Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Thu, 25 Jun 2020 23:08:58 +0100 Subject: [PATCH] Remove irrelevant comment --- src/libcore/option.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 5f0a12678ff43..7aca6af3de6f3 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"]