From 1d287255f57a6d42a44035ceb9861e96dfc5ee55 Mon Sep 17 00:00:00 2001 From: Tom Kaitchuck Date: Thu, 15 Oct 2020 14:03:39 -0700 Subject: [PATCH] Change mention of `fnv` in HashMap to mention `aHash` as an alternitive hasher. Signed-off-by: Tom Kaitchuck --- library/std/src/collections/hash/map.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs index 114707b639b..0d8313c430e 100644 --- a/library/std/src/collections/hash/map.rs +++ b/library/std/src/collections/hash/map.rs @@ -35,7 +35,7 @@ use crate::sys; /// /// The hashing algorithm can be replaced on a per-`HashMap` basis using the /// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods. Many -/// alternative algorithms are available on crates.io, such as the [`fnv`] crate. +/// alternative algorithms are available on crates.io, such as the [`aHash`] crate. /// /// It is required that the keys implement the [`Eq`] and [`Hash`] traits, although /// this can frequently be achieved by using `#[derive(PartialEq, Eq, Hash)]`. @@ -154,7 +154,7 @@ use crate::sys; /// [`default`]: Default::default /// [`with_hasher`]: Self::with_hasher /// [`with_capacity_and_hasher`]: Self::with_capacity_and_hasher -/// [`fnv`]: https://crates.io/crates/fnv +/// [`aHash`]: https://crates.io/crates/ahash /// /// ``` /// use std::collections::HashMap;