Fix a typo in ScopeGuard.h
[folly.git] / 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