diff options
| author | Vitali Lovich <vlovich@google.com> | 2018-02-20 13:07:21 -0800 |
|---|---|---|
| committer | Vitali Lovich <vlovich@google.com> | 2018-02-20 13:07:21 -0800 |
| commit | 14b403c91ab9a1e4b776e00adcd9d88153e3b736 (patch) | |
| tree | af8e4f591cc2d61953a5fd25dc06a84e48843698 /src/libstd/sync | |
| parent | d549db8031a07b79009f9efe8b3233cd8900c82b (diff) | |
| download | rust-14b403c91ab9a1e4b776e00adcd9d88153e3b736.tar.gz rust-14b403c91ab9a1e4b776e00adcd9d88153e3b736.zip | |
Fix doc compile error
Diffstat (limited to 'src/libstd/sync')
| -rw-r--r-- | src/libstd/sync/condvar.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/sync/condvar.rs b/src/libstd/sync/condvar.rs index 7f9b5667628..3e40cbb37e3 100644 --- a/src/libstd/sync/condvar.rs +++ b/src/libstd/sync/condvar.rs @@ -469,7 +469,7 @@ impl Condvar { /// let result = cvar.wait_timeout_until( /// lock.lock().unwrap(), /// Duration::from_millis(100), - /// |started| started, + /// |&mut started| started, /// ).unwrap(); /// if result.1.timed_out() { /// // timed-out without the condition ever evaluating to true. |
