From 0a19e9388bd6768f75c6b53b1d775ab169b81da1 Mon Sep 17 00:00:00 2001 From: Giuseppe Ottaviano Date: Sun, 24 Jul 2016 11:48:49 -0700 Subject: [PATCH] Fix typo in SharedMutex comment Reviewed By: yfeldblum Differential Revision: D3611881 fbshipit-source-id: 3991c18cc2956e9d0b50a20e6daf913ec58ee501 --- folly/SharedMutex.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/SharedMutex.h b/folly/SharedMutex.h index e0974d44..b2a783d7 100644 --- a/folly/SharedMutex.h +++ b/folly/SharedMutex.h @@ -183,7 +183,7 @@ // the shared slots. If you can conveniently pass state from lock // acquisition to release then the fastest mechanism is to std::move // the SharedMutex::ReadHolder instance or an SharedMutex::Token (using -// lock_shared(Token&) and unlock_sahred(Token&)). The guard or token +// lock_shared(Token&) and unlock_shared(Token&)). The guard or token // will tell unlock_shared where in deferredReaders[] to look for the // deferred lock. The Token-less version of unlock_shared() works in all // cases, but is optimized for the common (no inter-thread handoff) case. -- 2.34.1