Fix doc compile error
This commit is contained in:
@@ -469,7 +469,7 @@ impl Condvar {
|
|||||||
/// let result = cvar.wait_timeout_until(
|
/// let result = cvar.wait_timeout_until(
|
||||||
/// lock.lock().unwrap(),
|
/// lock.lock().unwrap(),
|
||||||
/// Duration::from_millis(100),
|
/// Duration::from_millis(100),
|
||||||
/// |started| started,
|
/// |&mut started| started,
|
||||||
/// ).unwrap();
|
/// ).unwrap();
|
||||||
/// if result.1.timed_out() {
|
/// if result.1.timed_out() {
|
||||||
/// // timed-out without the condition ever evaluating to true.
|
/// // timed-out without the condition ever evaluating to true.
|
||||||
|
|||||||
Reference in New Issue
Block a user