Fix typos in FBVector's comments
authorGuobao Sun <gsun@fb.com>
Sat, 13 Aug 2016 04:45:45 +0000 (21:45 -0700)
committerFacebook Github Bot 6 <facebook-github-bot-6-bot@fb.com>
Sat, 13 Aug 2016 04:53:37 +0000 (21:53 -0700)
Summary:
Found this nit while trying to understand how fbvector works. 1) grwoing -> growing 2) remove that unnecessary "and"

Not sure about reviewers' choosing so I included the author and whoever phabricator suggested to me.

Reviewed By: meyering, yfeldblum

Differential Revision: D3714166

fbshipit-source-id: 8bf575c3f2954feb9e92611acd0aa23c5eee9a0a

folly/FBVector.h

index 036882a4930414a1c8def4cafae5785c66454720..174343a2f78065742e22249b14baa3294805b636 100644 (file)
@@ -1139,9 +1139,9 @@ private:
   // fbvector grows differently on two counts:
   //
   // (1) initial size
-  //     Instead of grwoing to size 1 from empty, and fbvector allocates at
-  //     least 64 bytes. You may still use reserve to reserve a lesser amount
-  //     of memory.
+  //     Instead of growing to size 1 from empty, fbvector allocates at least
+  //     64 bytes. You may still use reserve to reserve a lesser amount of
+  //     memory.
   // (2) 1.5x
   //     For medium-sized vectors, the growth strategy is 1.5x. See the docs
   //     for details.