Rollup merge of #113618 - tshepang:patch-1, r=jyn514

update ancient note
This commit is contained in:
Matthias Krüger 2023-07-14 01:03:08 +02:00 committed by GitHub
commit 8d1dd7e67b
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 /// 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 /// [`Eq`] and [`Hash`]. We must also derive [`PartialEq`],
/// future be implied by [`Eq`]. /// which is required if [`Eq`] is derived.
/// ///
/// ``` /// ```
/// use std::collections::HashSet; /// use std::collections::HashSet;