Fix doc compile error

This commit is contained in:
Vitali Lovich 2018-02-20 13:07:21 -08:00
parent d549db8031
commit 14b403c91a

View File

@ -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.