Skip to content

Commit

Permalink
Fix doc test of previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Nov 28, 2017
1 parent 8424cac commit 8e025d8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/sync/mpsc/mod.rs
Expand Up @@ -1324,6 +1324,7 @@ impl<T> Receiver<T> {
/// Successfully receiving value before reaching deadline:
///
/// ```no_run
/// #![feature(deadline_api)]
/// use std::thread;
/// use std::time::{Duration, Instant};
/// use std::sync::mpsc;
Expand All @@ -1343,6 +1344,7 @@ impl<T> Receiver<T> {
/// Receiving an error upon reaching deadline:
///
/// ```no_run
/// #![feature(deadline_api)]
/// use std::thread;
/// use std::time::{Duration, Instant};
/// use std::sync::mpsc;
Expand Down

0 comments on commit 8e025d8

Please sign in to comment.