Skip to content

Commit 5b3d98d

Browse files
committed
Change link to point to crates.io keyword "hasher"
Signed-off-by: Tom Kaitchuck <[email protected]>
1 parent 1d28725 commit 5b3d98d

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@ use crate::sys;
3434
/// attacks such as HashDoS.
3535
///
3636
/// The hashing algorithm can be replaced on a per-`HashMap` basis using the
37-
/// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods. Many
38-
/// alternative algorithms are available on crates.io, such as the [`aHash`] crate.
37+
/// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods.
38+
/// There are many alternative [hashing algorithms available on crates.io].
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)]`.
@@ -57,6 +57,7 @@ use crate::sys;
5757
/// The original C++ version of SwissTable can be found [here], and this
5858
/// [CppCon talk] gives an overview of how the algorithm works.
5959
///
60+
/// [hashing algorithms available on crates.io]: https://crates.io/keywords/hasher
6061
/// [SwissTable]: https://abseil.io/blog/20180927-swisstables
6162
/// [here]: https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h
6263
/// [CppCon talk]: https://www.youtube.com/watch?v=ncHmEUmJZf4
@@ -154,7 +155,6 @@ use crate::sys;
154155
/// [`default`]: Default::default
155156
/// [`with_hasher`]: Self::with_hasher
156157
/// [`with_capacity_and_hasher`]: Self::with_capacity_and_hasher
157-
/// [`aHash`]: https://crates.io/crates/ahash
158158
///
159159
/// ```
160160
/// use std::collections::HashMap;

0 commit comments

Comments
 (0)