Skip to content

Commit

Permalink
Fix typos in F14 documentation
Browse files Browse the repository at this point in the history
Reviewed By: ilvokhin

Differential Revision: D66935439

fbshipit-source-id: 0eee00b46290398503b01672534b90e5263c281c
  • Loading branch information
Edward Pastuszenski authored and facebook-github-bot committed Dec 11, 2024
1 parent 474af08 commit 8b44361
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion third-party/folly/src/folly/container/F14Map.h
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,7 @@ class F14BasicMap {
* This function is provided for compliance with C++'s requirements for
* hashtables, but is no better than a simple `reserve` call for F14.
*
* @param bucketCapcity The desired capacity across all buckets.
* @param bucketCapacity The desired capacity across all buckets.
*/
void rehash(std::size_t bucketCapacity) {
// The standard's rehash() requires understanding the max load factor,
Expand Down
2 changes: 1 addition & 1 deletion third-party/folly/src/folly/container/F14Set.h
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ class F14BasicSet {
* This function is provided for compliance with C++'s requirements for
* hashtables, but is no better than a simple `reserve` call for F14.
*
* @param bucketCapcity The desired capacity across all buckets.
* @param bucketCapacity The desired capacity across all buckets.
*
* @methodset Hash policy
*/
Expand Down

0 comments on commit 8b44361

Please sign in to comment.