Skip to content

Commit

Permalink
Use an unstable feature linked to rust-lang#46316
Browse files Browse the repository at this point in the history
  • Loading branch information
ia0 committed Nov 27, 2017
1 parent 428c875 commit 8424cac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libstd/sync/mpsc/mod.rs
Expand Up @@ -1359,7 +1359,7 @@ impl<T> Receiver<T> {
/// Err(mpsc::RecvTimeoutError::Timeout)
/// );
/// ```
#[stable(feature = "mpsc_recv_deadline", since = "1.23.0")]
#[unstable(feature = "deadline_api", issue = "46316")]
pub fn recv_deadline(&self, deadline: Instant) -> Result<T, RecvTimeoutError> {
use self::RecvTimeoutError::*;

Expand Down

0 comments on commit 8424cac

Please sign in to comment.