Fix variable name in documentation sample (#13391)
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
//! defer m.unlock();
|
||||
//!
|
||||
//! while (!predicate) {
|
||||
//! c.wait(&mutex);
|
||||
//! c.wait(&m);
|
||||
//! }
|
||||
//! }
|
||||
//!
|
||||
|
||||
Reference in New Issue
Block a user