Commit 005bacc2 authored by Richard Tynan's avatar Richard Tynan Committed by Facebook GitHub Bot

Fix typo in coments for SharedMutex

Summary: Simple typo that I spotted.

Differential Revision: D23963553

fbshipit-source-id: 018e81c4878f4cb27b6676e88278d47d38706ed4
parent 15906ea2
......@@ -80,7 +80,7 @@ namespace coro {
/// }
///
/// folly::coro::Task<bool> contains(std::string value) const {
/// auto lock = co_await mutex_.co_scoped_shared_lock();
/// auto lock = co_await mutex_.co_scoped_lock_shared();
/// co_return values_.count(value) > 0;
/// }
/// };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment