Skip to content

Commit

Permalink
Auto merge of #363 - JustForFun88:fix_doc, r=Amanieu
Browse files Browse the repository at this point in the history
Documentation fix due to latest changes in the crate.

Due to merged PR #357, #362 I think that we need to fix docummentation.

 Fixed broken links in `HashMap::raw_table` and `HashSet::raw_table`, as well as some typos and mistakes elsewhere (especially in `EntryRef::or_insert_with_key`).

To fix #349, I removed capacity comparisons in all places (except `drain` and `clear`),  however left the phrase "keeps the allocated memory for reuse", because although the `erase` method may not release the capacity, the subsequent `rehash_in_place` function definitely will release all.

Close #349.
  • Loading branch information
bors committed Oct 9, 2022
2 parents 5d9988c + 47bc623 commit 101b8de
Show file tree
Hide file tree
Showing 2 changed files with 287 additions and 81 deletions.
Loading

0 comments on commit 101b8de

Please sign in to comment.