Skip to content

Commit a913a7a

Browse files
chore: minor improvement for docs
Signed-off-by: claudecodering <[email protected]>
1 parent 5fe3c0b commit a913a7a

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ use hashbrown::HashMap;
5151
let mut map = HashMap::new();
5252
map.insert(1, "one");
5353
```
54+
5455
## Flags
5556
This crate has the following Cargo features:
5657

src/control/group/generic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ impl Group {
102102
/// - This never happens for `EMPTY` and `DELETED`, only full entries.
103103
/// - The check for key equality will catch these.
104104
/// - This only happens if there is at least 1 true match.
105-
/// - The chance of this happening is very low (< 1% chance per byte).
105+
/// - The chance of this happening is very low (< 1% chance per tag).
106106
#[inline]
107107
pub(crate) fn match_tag(self, tag: Tag) -> BitMask {
108108
// This algorithm is derived from

src/map.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,7 @@ where
14911491
/// "Bodleian Library",
14921492
/// ]) else { panic!() };
14931493
///
1494-
/// // Assert values of Athenæum and Library of Congress
1494+
/// // Get values for Athenæum and Library of Congress
14951495
/// let got = libraries.get_disjoint_mut([
14961496
/// "Athenæum",
14971497
/// "Library of Congress",

src/set.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ use crate::DefaultHashBuilder;
1313
// =============================
1414
//
1515
// Iteration over zero sized values is a noop. There is no need
16-
// for `bucket.val` in the case of HashSet. I suppose we would need HKT
17-
// to get rid of it properly.
16+
// for `bucket.val` in the case of HashSet. We might need Higher Kinded Types (HKT)
17+
// to eliminate this field properly.
1818

1919
/// A hash set implemented as a `HashMap` where the value is `()`.
2020
///

0 commit comments

Comments
 (0)