Rollup merge of #126783 - tguichaoua:fix_tcplistener_into_incoming_is… · model-checking/verify-rust-std@12ec5b7 (original) (raw)

2 files changed

lines changed

Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ use crate::io::{self, ErrorKind};
27 27 pub use self::ip_addr::{IpAddr, Ipv4Addr, Ipv6Addr, Ipv6MulticastScope};
28 28 #[stable(feature = "rust1", since = "1.0.0")]
29 29 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")]
31 31 pub use self::tcp::IntoIncoming;
32 32 #[stable(feature = "rust1", since = "1.0.0")]
33 33 pub use self::tcp::{Incoming, TcpListener, TcpStream};
Original file line number Diff line number Diff line change
@@ -105,7 +105,7 @@ pub struct Incoming<'a> {
105 105 ///
106 106 /// [`accept`]: TcpListener::accept
107 107 #[derive(Debug)]
108 -#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
108 +#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
109 109 pub struct IntoIncoming {
110 110 listener: TcpListener,
111 111 }
@@ -894,7 +894,7 @@ impl TcpListener {
894 894 /// }
895 895 /// ```
896 896 #[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")]
898 898 pub fn into_incoming(self) -> IntoIncoming {
899 899 IntoIncoming { listener: self }
900 900 }
@@ -1033,15 +1033,15 @@ impl<'a> Iterator for Incoming<'a> {
1033 1033 #[stable(feature = "tcp_listener_incoming_fused_iterator", since = "1.64.0")]
1034 1034 impl FusedIterator for Incoming<'_> {}
1035 1035
1036 -#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
1036 +#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
1037 1037 impl Iterator for IntoIncoming {
1038 1038 type Item = io::Result<TcpStream>;
1039 1039 fn next(&mut self) -> Option<io::Result<TcpStream>> {
1040 1040 Some(self.listener.accept().map(|p
1041 1041 }
1042 1042 }
1043 1043
1044 -#[unstable(feature = "tcplistener_into_incoming", issue = "88339")]
1044 +#[unstable(feature = "tcplistener_into_incoming", issue = "88373")]
1045 1045 impl FusedIterator for IntoIncoming {}
1046 1046
1047 1047 impl AsInner<net_imp::TcpListener> for TcpListener {