mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
assign mpsc_is_disconnected issue 153668
This commit is contained in:
parent
feef7b4eaf
commit
ce2de643fc
@@ -626,7 +626,7 @@ pub fn send(&self, t: T) -> Result<(), SendError<T>> {
|
||||
/// drop(rx);
|
||||
/// assert!(tx.is_disconnected());
|
||||
/// ```
|
||||
#[unstable(feature = "mpsc_is_disconnected", issue = "none")]
|
||||
#[unstable(feature = "mpsc_is_disconnected", issue = "153668")]
|
||||
pub fn is_disconnected(&self) -> bool {
|
||||
self.inner.is_disconnected()
|
||||
}
|
||||
@@ -1080,7 +1080,7 @@ pub fn try_iter(&self) -> TryIter<'_, T> {
|
||||
/// drop(tx);
|
||||
/// assert!(rx.is_disconnected());
|
||||
/// ```
|
||||
#[unstable(feature = "mpsc_is_disconnected", issue = "none")]
|
||||
#[unstable(feature = "mpsc_is_disconnected", issue = "153668")]
|
||||
pub fn is_disconnected(&self) -> bool {
|
||||
self.inner.is_disconnected()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user