We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8424cac commit 8e025d8Copy full SHA for 8e025d8
src/libstd/sync/mpsc/mod.rs
@@ -1324,6 +1324,7 @@ impl<T> Receiver<T> {
1324
/// Successfully receiving value before reaching deadline:
1325
///
1326
/// ```no_run
1327
+ /// #![feature(deadline_api)]
1328
/// use std::thread;
1329
/// use std::time::{Duration, Instant};
1330
/// use std::sync::mpsc;
@@ -1343,6 +1344,7 @@ impl<T> Receiver<T> {
1343
1344
/// Receiving an error upon reaching deadline:
1345
1346
1347
1348
1349
1350
0 commit comments