mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-02 07:22:42 +00:00
Rollup merge of #113618 - tshepang:patch-1, r=jyn514
update ancient note
This commit is contained in:
commit
8d1dd7e67b
@ -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 required if [`Eq`] is derived.
|
||||
///
|
||||
/// ```
|
||||
/// use std::collections::HashSet;
|
||||
|
Loading…
Reference in New Issue
Block a user