From 8b4436184085b69d0eeab765c62a4f4de1211898 Mon Sep 17 00:00:00 2001 From: Edward Pastuszenski Date: Wed, 11 Dec 2024 15:14:56 -0800 Subject: [PATCH] Fix typos in F14 documentation Reviewed By: ilvokhin Differential Revision: D66935439 fbshipit-source-id: 0eee00b46290398503b01672534b90e5263c281c --- third-party/folly/src/folly/container/F14Map.h | 2 +- third-party/folly/src/folly/container/F14Set.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/folly/src/folly/container/F14Map.h b/third-party/folly/src/folly/container/F14Map.h index 5d92d22c861dfe..44bf425b766f53 100644 --- a/third-party/folly/src/folly/container/F14Map.h +++ b/third-party/folly/src/folly/container/F14Map.h @@ -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, diff --git a/third-party/folly/src/folly/container/F14Set.h b/third-party/folly/src/folly/container/F14Set.h index b3aaaef884f4ff..b5ca50374bdd29 100644 --- a/third-party/folly/src/folly/container/F14Set.h +++ b/third-party/folly/src/folly/container/F14Set.h @@ -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 */