Fix a typo in ScopeGuard.h
authorStephane Sezer <sas@fb.com>
Wed, 24 Aug 2016 23:26:18 +0000 (16:26 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Wed, 24 Aug 2016 23:38:34 +0000 (16:38 -0700)
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

index 0e2ac6d1b621ba11999bcc6de3114747802e6f76..940a34855aa0602f3e5cc8ab2f7aa320088de3dd 100644 (file)
@@ -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