diff options
| author | Tom Kaitchuck <Tom.Kaitchuck@gmail.com> | 2020-10-27 20:49:52 -0700 |
|---|---|---|
| committer | Tom Kaitchuck <Tom.Kaitchuck@gmail.com> | 2020-10-27 20:49:52 -0700 |
| commit | 5b3d98d9f8d50a4bb3adf071dc6592cf458afbf1 (patch) | |
| tree | 3b2cfa40a60331738faf27c62682116dbd3ae17e | |
| parent | 1d287255f57a6d42a44035ceb9861e96dfc5ee55 (diff) | |
| download | rust-5b3d98d9f8d50a4bb3adf071dc6592cf458afbf1.tar.gz rust-5b3d98d9f8d50a4bb3adf071dc6592cf458afbf1.zip | |
Change link to point to crates.io keyword "hasher"
Signed-off-by: Tom Kaitchuck <Tom.Kaitchuck@gmail.com>
| -rw-r--r-- | library/std/src/collections/hash/map.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/std/src/collections/hash/map.rs b/library/std/src/collections/hash/map.rs index 0d8313c430e..03d8b11a51a 100644 --- a/library/std/src/collections/hash/map.rs +++ b/library/std/src/collections/hash/map.rs @@ -34,8 +34,8 @@ use crate::sys; /// attacks such as HashDoS. /// /// 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 [`aHash`] crate. +/// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods. +/// There are many alternative [hashing algorithms available on crates.io]. /// /// It is required that the keys implement the [`Eq`] and [`Hash`] traits, although /// this can frequently be achieved by using `#[derive(PartialEq, Eq, Hash)]`. @@ -57,6 +57,7 @@ use crate::sys; /// The original C++ version of SwissTable can be found [here], and this /// [CppCon talk] gives an overview of how the algorithm works. /// +/// [hashing algorithms available on crates.io]: https://crates.io/keywords/hasher /// [SwissTable]: https://abseil.io/blog/20180927-swisstables /// [here]: https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h /// [CppCon talk]: https://www.youtube.com/watch?v=ncHmEUmJZf4 @@ -154,7 +155,6 @@ use crate::sys; /// [`default`]: Default::default /// [`with_hasher`]: Self::with_hasher /// [`with_capacity_and_hasher`]: Self::with_capacity_and_hasher -/// [`aHash`]: https://crates.io/crates/ahash /// /// ``` /// use std::collections::HashMap; |
