-
Notifications
You must be signed in to change notification settings - Fork 313
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of `debug_assert!(map.is_empty());` we could alternatively `map.clear();`. I have a preference for it but check it's empty is less surprising, right?! Anyway, the documentation should state one or the other.
- Loading branch information
1 parent
3049c29
commit df7720d
Showing
1 changed file
with
27 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters