Skip to content

Commit 8643947

Browse files
committed
added issue numbers for with_backlog
1 parent a6ca55b commit 8643947

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

library/std/src/net/tcp.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ impl TcpListener {
710710
/// Default "backlog" for [`TcpListener::bind`]. See
711711
/// [`TcpListener::bind_with_backlog`] for an explanation of backlog
712712
/// values.
713-
#[unstable(feature = "bind_with_backlog", issue = "none")]
713+
#[unstable(feature = "bind_with_backlog", issue = "94406")]
714714
pub const DEFAULT_BACKLOG: usize = 128;
715715

716716
/// Creates a new `TcpListener` which will be bound to the specified
@@ -741,7 +741,7 @@ impl TcpListener {
741741
/// The specified backlog may be larger than supported by the underlying
742742
/// system. In this case an [`io::Error`] with
743743
/// [`io::ErrorKind::InvalidData`] will be returned.
744-
#[unstable(feature = "bind_with_backlog", issue = "none")]
744+
#[unstable(feature = "bind_with_backlog", issue = "94406")]
745745
pub fn bind_with_backlog<A: ToSocketAddrs>(addr: A, backlog: usize) -> io::Result<TcpListener> {
746746
super::each_addr(addr, move |a| net_imp::TcpListener::bind_with_backlog(a, backlog))
747747
.map(TcpListener)

library/std/src/os/unix/net/listener.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl UnixListener {
5757
/// Default "backlog" for [`UnixListener::bind`] and
5858
/// [`UnixListener::bind_addr`]. See [`UnixListener::bind_with_backlog`]
5959
/// for an explanation of backlog values.
60-
#[unstable(feature = "bind_with_backlog", issue = "none")]
60+
#[unstable(feature = "bind_with_backlog", issue = "94406")]
6161
pub const DEFAULT_BACKLOG: usize = 128;
6262

6363
/// Creates a new `UnixListener` bound to the specified socket.
@@ -115,7 +115,7 @@ impl UnixListener {
115115
/// The specified backlog may be larger than supported by the underlying
116116
/// system. In this case an [`io::Error`] with
117117
/// [`io::ErrorKind::InvalidData`] will be returned.
118-
#[unstable(feature = "bind_with_backlog", issue = "none")]
118+
#[unstable(feature = "bind_with_backlog", issue = "94406")]
119119
pub fn bind_with_backlog<P: AsRef<Path>>(path: P, backlog: usize) -> io::Result<UnixListener> {
120120
unsafe {
121121
let backlog = backlog
@@ -195,7 +195,7 @@ impl UnixListener {
195195
/// }
196196
/// ```
197197
//#[unstable(feature = "unix_socket_abstract", issue = "85410")]
198-
#[unstable(feature = "bind_with_backlog", issue = "none")]
198+
#[unstable(feature = "bind_with_backlog", issue = "94406")]
199199
pub fn bind_addr_with_backlog(
200200
socket_addr: &SocketAddr,
201201
backlog: usize,

0 commit comments

Comments
 (0)