Skip to content

Commit 6a22e91

Browse files
author
Cole Miller
committed
Tidy get_each_mut documentation and add a changelog entry
1 parent 0c8f029 commit 6a22e91

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
1010
## Added
1111
- Added safe `try_insert_no_grow` method to `RawTable`. (#229)
1212
- Implemented `Default` for `RawTable`. (#237)
13+
- Added new safe methods `RawTable::get_each_mut`, `HashMap::get_each_mut`, and
14+
`HashMap::get_each_key_value_mut`. (#239)
1315

1416
## Changed
1517
- The minimum Rust version has been bumped to 1.49.0. (#230)

src/map.rs

+4
Original file line numberDiff line numberDiff line change
@@ -1107,6 +1107,8 @@ where
11071107
///
11081108
/// This method is available only if the `nightly` feature is enabled.
11091109
///
1110+
/// # Examples
1111+
///
11101112
/// ```
11111113
/// use hashbrown::{HashMap, UnavailableMutError};
11121114
///
@@ -1164,6 +1166,8 @@ where
11641166
///
11651167
/// This method is available only if the `nightly` feature is enabled.
11661168
///
1169+
/// # Examples
1170+
///
11671171
/// ```
11681172
/// use hashbrown::{HashMap, UnavailableMutError};
11691173
///

0 commit comments

Comments
 (0)