We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d549db8 commit 14b403cCopy full SHA for 14b403c
src/libstd/sync/condvar.rs
@@ -469,7 +469,7 @@ impl Condvar {
469
/// let result = cvar.wait_timeout_until(
470
/// lock.lock().unwrap(),
471
/// Duration::from_millis(100),
472
- /// |started| started,
+ /// |&mut started| started,
473
/// ).unwrap();
474
/// if result.1.timed_out() {
475
/// // timed-out without the condition ever evaluating to true.
0 commit comments