From e275511679e59befc3c32e0be3f26bbdc9421e38 Mon Sep 17 00:00:00 2001 From: Ed Baunton Date: Wed, 10 Jun 2015 14:24:55 -0700 Subject: [PATCH] Update FBVector.md Summary: Minor typo when referencing `std::allocator` Closes #84 Reviewed By: @yfeldblum Differential Revision: D2144830 Pulled By: @sgolemon --- folly/docs/FBVector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/docs/FBVector.md b/folly/docs/FBVector.md index 0975819b..21edbe8f 100644 --- a/folly/docs/FBVector.md +++ b/folly/docs/FBVector.md @@ -128,7 +128,7 @@ the now notorious design of `realloc()` to opaquely perform either in-place reallocation or an allocate-memcpy-deallocate cycle. Such lack of control subsequently forced all clib-based allocator designs to avoid in-place reallocation, and that -includes C++'s `new` and `std:allocator`. This is a major loss of +includes C++'s `new` and `std::allocator`. This is a major loss of efficiency because an in-place reallocation, being very cheap, may mean a much less aggressive growth strategy. In turn that means less slack memory and faster reallocations. -- 2.34.1