Skip to content

Commit 14b403c

Browse files
author
Vitali Lovich
committed
Fix doc compile error
1 parent d549db8 commit 14b403c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/sync/condvar.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ impl Condvar {
469469
/// let result = cvar.wait_timeout_until(
470470
/// lock.lock().unwrap(),
471471
/// Duration::from_millis(100),
472-
/// |started| started,
472+
/// |&mut started| started,
473473
/// ).unwrap();
474474
/// if result.1.timed_out() {
475475
/// // timed-out without the condition ever evaluating to true.

0 commit comments

Comments
 (0)