Skip to content

Commit 1d28725

Browse files
committed
Change mention of fnv in HashMap to mention aHash as an alternitive hasher.
Signed-off-by: Tom Kaitchuck <[email protected]>
1 parent b5c9e24 commit 1d28725

File tree

1 file changed

+2
-2
lines changed
  • library/std/src/collections/hash

1 file changed

+2
-2
lines changed

library/std/src/collections/hash/map.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ use crate::sys;
3535
///
3636
/// The hashing algorithm can be replaced on a per-`HashMap` basis using the
3737
/// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods. Many
38-
/// alternative algorithms are available on crates.io, such as the [`fnv`] crate.
38+
/// alternative algorithms are available on crates.io, such as the [`aHash`] crate.
3939
///
4040
/// It is required that the keys implement the [`Eq`] and [`Hash`] traits, although
4141
/// this can frequently be achieved by using `#[derive(PartialEq, Eq, Hash)]`.
@@ -154,7 +154,7 @@ use crate::sys;
154154
/// [`default`]: Default::default
155155
/// [`with_hasher`]: Self::with_hasher
156156
/// [`with_capacity_and_hasher`]: Self::with_capacity_and_hasher
157-
/// [`fnv`]: https://crates.io/crates/fnv
157+
/// [`aHash`]: https://crates.io/crates/ahash
158158
///
159159
/// ```
160160
/// use std::collections::HashMap;

0 commit comments

Comments
 (0)