@@ -9,7 +9,7 @@ use crate::{io, net};
99/// Os-specific extensions for [`TcpStream`]
1010///
1111/// [`TcpStream`]: net::TcpStream
12- #[ unstable ( feature = "tcp_quickack" , issue = "96256 " ) ]
12+ #[ stable ( feature = "tcp_quickack" , since = "CURRENT_RUSTC_VERSION " ) ]
1313pub trait TcpStreamExt : Sealed {
1414 /// Enable or disable `TCP_QUICKACK`.
1515 ///
@@ -31,7 +31,7 @@ pub trait TcpStreamExt: Sealed {
3131 /// .expect("Couldn't connect to the server...");
3232 /// stream.set_quickack(true).expect("set_quickack call failed");
3333 /// ```
34- #[ unstable ( feature = "tcp_quickack" , issue = "96256 " ) ]
34+ #[ stable ( feature = "tcp_quickack" , since = "CURRENT_RUSTC_VERSION " ) ]
3535 fn set_quickack ( & self , quickack : bool ) -> io:: Result < ( ) > ;
3636
3737 /// Gets the value of the `TCP_QUICKACK` option on this socket.
@@ -50,7 +50,7 @@ pub trait TcpStreamExt: Sealed {
5050 /// stream.set_quickack(true).expect("set_quickack call failed");
5151 /// assert_eq!(stream.quickack().unwrap_or(false), true);
5252 /// ```
53- #[ unstable ( feature = "tcp_quickack" , issue = "96256 " ) ]
53+ #[ stable ( feature = "tcp_quickack" , since = "CURRENT_RUSTC_VERSION " ) ]
5454 fn quickack ( & self ) -> io:: Result < bool > ;
5555
5656 /// A socket listener will be awakened solely when data arrives.
@@ -99,10 +99,10 @@ pub trait TcpStreamExt: Sealed {
9999 fn deferaccept ( & self ) -> io:: Result < u32 > ;
100100}
101101
102- #[ unstable ( feature = "tcp_quickack" , issue = "96256 " ) ]
102+ #[ stable ( feature = "tcp_quickack" , since = "CURRENT_RUSTC_VERSION " ) ]
103103impl Sealed for net:: TcpStream { }
104104
105- #[ unstable ( feature = "tcp_quickack" , issue = "96256 " ) ]
105+ #[ stable ( feature = "tcp_quickack" , since = "CURRENT_RUSTC_VERSION " ) ]
106106impl TcpStreamExt for net:: TcpStream {
107107 fn set_quickack ( & self , quickack : bool ) -> io:: Result < ( ) > {
108108 self . as_inner ( ) . as_inner ( ) . set_quickack ( quickack)
0 commit comments