From 64543f316205c32e421a2090a5d35d4c113498a5 Mon Sep 17 00:00:00 2001 From: Stephane Sezer Date: Wed, 24 Aug 2016 16:26:18 -0700 Subject: [PATCH] Fix a typo in ScopeGuard.h Summary: Closes https://github.com/facebook/folly/pull/458 Reviewed By: yfeldblum Differential Revision: D3765911 Pulled By: Orvid fbshipit-source-id: 30de0b99ec622471e52a775835b5a0564437febc --- folly/ScopeGuard.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/folly/ScopeGuard.h b/folly/ScopeGuard.h index 0e2ac6d1..940a3485 100644 --- a/folly/ScopeGuard.h +++ b/folly/ScopeGuard.h @@ -37,7 +37,8 @@ namespace folly { * a functor, or a void(*)() function pointer. * * - * Usage example: Add a friend to memory iff it is also added to the db. + * Usage example: Add a friend to memory if and only if it is also added + * to the db. * * void User::addFriend(User& newFriend) { * // add the friend to memory -- 2.34.1