Remove mention of ahash in docs

This commit is contained in:
Max Willsey
2021-09-21 10:44:02 -07:00
parent 22489e132b
commit 030d23f4d4
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -179,8 +179,6 @@ impl<K, V, S> IndexMap<K, V, S> {
///
/// This function is `const`, so it
/// can be called in `static` contexts.
/// If you need `hash_builder` that can be made in the static context,
/// consider [`ahash`](https://docs.rs/ahash/0.7.4/ahash/struct.RandomState.html#method.with_seeds).
pub const fn with_hasher(hash_builder: S) -> Self {
IndexMap {
core: IndexMapCore::new(),
-2
View File
@@ -159,8 +159,6 @@ impl<T, S> IndexSet<T, S> {
///
/// This function is `const`, so it
/// can be called in `static` contexts.
/// If you need `hash_builder` that can be made in the static context,
/// consider [`ahash`](https://docs.rs/ahash/0.7.4/ahash/struct.RandomState.html#method.with_seeds).
pub const fn with_hasher(hash_builder: S) -> Self {
IndexSet {
map: IndexMap::with_hasher(hash_builder),