about summary refs log tree commit diff
path: root/library/std
diff options
context:
space:
mode:
authorMaybe Waffle <waffle.lapkin@gmail.com>2023-03-20 17:42:04 +0000
committerMaybe Waffle <waffle.lapkin@gmail.com>2023-03-20 17:42:04 +0000
commitc513c3b9a5deffac243b7bed3d339bd4e380dc1d (patch)
tree97989c487f7295259096af66b3243e089019b40c /library/std
parente91364bcf5100017a8bd5b18cdebefdd3e5f0bb1 (diff)
downloadrust-c513c3b9a5deffac243b7bed3d339bd4e380dc1d.tar.gz
rust-c513c3b9a5deffac243b7bed3d339bd4e380dc1d.zip
Remove outdated comments
Diffstat (limited to 'library/std')
-rw-r--r--library/std/src/collections/hash/set.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/library/std/src/collections/hash/set.rs b/library/std/src/collections/hash/set.rs
index b59f89d321c..837a18bff60 100644
--- a/library/std/src/collections/hash/set.rs
+++ b/library/std/src/collections/hash/set.rs
@@ -12,13 +12,6 @@ use crate::ops::{BitAnd, BitOr, BitXor, Sub};
 
 use super::map::{map_try_reserve_error, RandomState};
 
-// Future Optimization (FIXME!)
-// ============================
-//
-// Iteration over zero sized values is a noop. There is no need
-// for `bucket.val` in the case of HashSet. I suppose we would need HKT
-// to get rid of it properly.
-
 /// A [hash set] implemented as a `HashMap` where the value is `()`.
 ///
 /// As with the [`HashMap`] type, a `HashSet` requires that the elements