@@ -11,7 +11,7 @@ use std::ops::BitXor as _;
1111/// Type alias for [`HashSet`] using [`FxHasher`].
1212pub type FastSet < T > = HashSet < T , BuildFxHasher > ;
1313
14- /// Convenience methods to contruct a [`FastSet`].
14+ /// Convenience methods to construct a [`FastSet`].
1515pub trait FastSetBuilder < T > {
1616 fn new ( ) -> Self ;
1717 fn with_capacity ( capacity : usize ) -> Self ;
@@ -37,7 +37,7 @@ impl<T: Eq + Hash> FastSetBuilder<T> for FastSet<T> {
3737/// Type alias for [`HashMap`] using [`FxHasher`].
3838pub type FastMap < K , V > = HashMap < K , V , BuildFxHasher > ;
3939
40- /// Convenience methods to contruct a [`FastMap`].
40+ /// Convenience methods to construct a [`FastMap`].
4141pub trait FastMapBuilder < K , V > {
4242 fn new ( ) -> Self ;
4343 fn with_capacity ( capacity : usize ) -> Self ;
@@ -75,7 +75,7 @@ impl BuildHasher for BuildFxHasher {
7575
7676/// Simplified implementation, in particular running on a system with 64 bit `usize` is assumed.
7777///
78- /// Checkout the [Firefox code](https://searchfox.org/mozilla-central/rev/633345116df55e2d37be9be6555aa739656c5a7d/mfbt/HashFunctions.h#109-153)
78+ /// Check out the [Firefox code](https://searchfox.org/mozilla-central/rev/633345116df55e2d37be9be6555aa739656c5a7d/mfbt/HashFunctions.h#109-153)
7979/// for a full description.
8080const K : u64 = 0x517cc1b727220a95 ;
8181
0 commit comments