diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-03-24 07:13:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-24 07:13:04 +0100 |
| commit | 936377a0aabd4e383e619aaff51a01cdffc154d0 (patch) | |
| tree | cfb331a82760c97cd9e1bcd8dbb1483365b00cda /library/std/src | |
| parent | 4c0f5008ce74563873cbd8574018dbe4906a5361 (diff) | |
| parent | c513c3b9a5deffac243b7bed3d339bd4e380dc1d (diff) | |
| download | rust-936377a0aabd4e383e619aaff51a01cdffc154d0.tar.gz rust-936377a0aabd4e383e619aaff51a01cdffc154d0.zip | |
Rollup merge of #109406 - WaffleLapkin:🥛, r=cuviper
Remove outdated comments What the title said
Diffstat (limited to 'library/std/src')
| -rw-r--r-- | library/std/src/collections/hash/set.rs | 7 |
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 |
