update ancient note

This commit is contained in:
Tshepang Mbambo 2023-07-12 12:23:40 +02:00 committed by GitHub
parent 910be1b3e8
commit 5710fca279
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,8 +65,8 @@ use super::map::{map_try_reserve_error, RandomState};
/// ```
///
/// The easiest way to use `HashSet` with a custom type is to derive
/// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`], this will in the
/// future be implied by [`Eq`].
/// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`],
/// which is implied by [`Eq`].
///
/// ```
/// use std::collections::HashSet;