Skip to content

Commit

Permalink
Fix doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustForFun88 committed Apr 27, 2022
1 parent da13d2a commit 199d1ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/map.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use core::hint::unreachable_unchecked;
use core::iter::{Extend, FromIterator, FusedIterator};
use core::mem;
use core::ops::Index;
use std::collections::{HashMap, hash_map, TryReserveError};
use std::collections::{hash_map, HashMap, TryReserveError};

/// A hash map with double keys implemented as wrapper above two
/// [`HashMaps`](`std::collections::HashMap`).
Expand Down Expand Up @@ -2241,7 +2241,7 @@ where
K2: Eq + Hash + Clone,
S: BuildHasher + Default + Clone,
{
/// Creates an new `DHashMap<K1, K2, V, [`RandomState`]>`, with the `Default` value
/// Creates an new `DHashMap<K1, K2, V, S>`, with the `Default` value
/// for the hasher from from an iterator.
///
/// You need to specify the type of `hasher`
Expand Down

0 comments on commit 199d1ba

Please sign in to comment.