@@ -34,8 +34,8 @@ use crate::sys;
34
34
/// attacks such as HashDoS.
35
35
///
36
36
/// 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 [`fnv`] crate .
37
+ /// [`default`], [`with_hasher`], and [`with_capacity_and_hasher`] methods.
38
+ /// There are many alternative [hashing algorithms available on crates.io] .
39
39
///
40
40
/// It is required that the keys implement the [`Eq`] and [`Hash`] traits, although
41
41
/// this can frequently be achieved by using `#[derive(PartialEq, Eq, Hash)]`.
@@ -57,6 +57,7 @@ use crate::sys;
57
57
/// The original C++ version of SwissTable can be found [here], and this
58
58
/// [CppCon talk] gives an overview of how the algorithm works.
59
59
///
60
+ /// [hashing algorithms available on crates.io]: https://crates.io/keywords/hasher
60
61
/// [SwissTable]: https://abseil.io/blog/20180927-swisstables
61
62
/// [here]: https://github.com/abseil/abseil-cpp/blob/master/absl/container/internal/raw_hash_set.h
62
63
/// [CppCon talk]: https://www.youtube.com/watch?v=ncHmEUmJZf4
@@ -154,7 +155,6 @@ use crate::sys;
154
155
/// [`default`]: Default::default
155
156
/// [`with_hasher`]: Self::with_hasher
156
157
/// [`with_capacity_and_hasher`]: Self::with_capacity_and_hasher
157
- /// [`fnv`]: https://crates.io/crates/fnv
158
158
///
159
159
/// ```
160
160
/// use std::collections::HashMap;
0 commit comments