Skip to content

Commit bb39455

Browse files
committed
Auto merge of #198 - mbrubeck:deps, r=Amanieu
Update to ahash 0.4 None
2 parents cd2131a + 38ae92a commit bb39455

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1818

1919
### Changed
2020
- The minimum Rust version has been bumped to 1.36 (due to `crossbeam` dependency). (#193)
21+
- Updated `ahash` dependency to 0.4. (#198)
2122
- `HashMap::with_hasher` and `HashSet::with_hasher` are now `const fn`. (#195)
2223
- Removed `T: Hash + Eq` and `S: BuildHasher` bounds on `HashSet::new`,
2324
`with_capacity`, `with_hasher`, and `with_capacity_and_hasher`. (#185)

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ edition = "2018"
1313

1414
[dependencies]
1515
# For the default hasher
16-
ahash = { version = "0.3.2", optional = true, default-features = false }
16+
ahash = { version = "0.4.4", optional = true, default-features = false }
1717

1818
# For external trait impls
1919
rayon = { version = "1.0", optional = true }

src/set.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,9 @@ use super::map::{self, ConsumeAllOnDrop, DefaultHashBuilder, DrainFilterInner, H
100100
/// ```
101101
/// use hashbrown::HashSet;
102102
///
103-
/// fn main() {
104103
/// let viking_names: HashSet<&'static str> =
105104
/// [ "Einar", "Olaf", "Harald" ].iter().cloned().collect();
106105
/// // use the values stored in the set
107-
/// }
108106
/// ```
109107
///
110108
/// [`Cell`]: https://doc.rust-lang.org/std/cell/struct.Cell.html

0 commit comments

Comments
 (0)