Skip to content

Commit 12ec5b7

Browse files
authored
Rollup merge of rust-lang#126783 - tguichaoua:fix_tcplistener_into_incoming_issue_number, r=workingjubilee
Fix issue number for the `tcplistener_into_incoming` feature As per [this comment](rust-lang#88339 (comment)), the issue number for the `tcplistener_into_incoming` feature is the one of the PR that implements it instead of the tracking issue. - rust-lang#88339 - rust-lang#88373
2 parents a48f3d6 + 54eaed7 commit 12ec5b7

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

std/src/net/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ use crate::io::{self, ErrorKind};
2727
pub use self::ip_addr::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
2828
#[stable(feature = "rust1", since = "1.0.0")]
2929
pub use self::socket_addr::{SocketAddr, SocketAddrV4, SocketAddrV6, ToSocketAddrs};
30-
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
30+
#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
3131
pub use self::tcp::IntoIncoming;
3232
#[stable(feature = "rust1", since = "1.0.0")]
3333
pub use self::tcp::{Incoming, TcpListener, TcpStream};

std/src/net/tcp.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ pub struct Incoming<'a> {
105105
///
106106
/// [`accept`]: TcpListener::accept
107107
#[derive(Debug)]
108-
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
108+
#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
109109
pub struct IntoIncoming {
110110
listener: TcpListener,
111111
}
@@ -894,7 +894,7 @@ impl TcpListener {
894894
/// }
895895
/// ```
896896
#[must_use = "`self` will be dropped if the result is not used"]
897-
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
897+
#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
898898
pub fn into_incoming(self) -> IntoIncoming {
899899
IntoIncoming { listener: self }
900900
}
@@ -1033,15 +1033,15 @@ impl<'a> Iterator for Incoming<'a> {
10331033
#[stable(feature = "tcp_listener_incoming_fused_iterator", since = "1.64.0")]
10341034
impl FusedIterator for Incoming<'_> {}
10351035

1036-
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
1036+
#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
10371037
impl Iterator for IntoIncoming {
10381038
type Item = io::Result<TcpStream>;
10391039
fn next(&mut self) -> Option<io::Result<TcpStream>> {
10401040
Some(self.listener.accept().map(|p| p.0))
10411041
}
10421042
}
10431043

1044-
#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
1044+
#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
10451045
impl FusedIterator for IntoIncoming {}
10461046

10471047
impl AsInner<net_imp::TcpListener> for TcpListener {

0 commit comments

Comments
 (0)