Skip to content

Commit ef90438

Browse files
committed
refactor to make ahash usage clearer
1 parent a870232 commit ef90438

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/lib.rs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,13 @@ pub mod r#async {
2929
}
3030

3131
pub mod collections {
32-
pub use ahash as insecure;
32+
pub mod insecure {
33+
pub use ahash;
34+
35+
pub use ahash::AHashMap as HashMap;
36+
pub use ahash::AHashSet as HashSet;
37+
pub use ahash::AHasher as Hasher;
38+
}
3339

3440
pub enum OneOrMany<T> {
3541
One(T),

0 commit comments

Comments
 (0)