Commit f61c4a49 authored by Guobao Sun's avatar Guobao Sun Committed by Facebook Github Bot 6

Fix typos in FBVector's comments

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
parent 3062d1cd
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment