Skip to content

Commit a84e77b

Browse files
committed
Stabilize unix_socket_creation
1 parent 7f44b3a commit a84e77b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

+1-3
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,6 @@ impl SocketAddr {
140140
/// # Examples
141141
///
142142
/// ```
143-
/// #![feature(unix_socket_creation)]
144143
/// use std::os::unix::net::SocketAddr;
145144
/// use std::path::Path;
146145
///
@@ -154,12 +153,11 @@ impl SocketAddr {
154153
/// Creating a `SocketAddr` with a NULL byte results in an error.
155154
///
156155
/// ```
157-
/// #![feature(unix_socket_creation)]
158156
/// use std::os::unix::net::SocketAddr;
159157
///
160158
/// assert!(SocketAddr::from_pathname("/path/with/\0/bytes").is_err());
161159
/// ```
162-
#[unstable(feature = "unix_socket_creation", issue = "93423")]
160+
#[stable(feature = "unix_socket_creation", since = "1.61.0")]
163161
pub fn from_pathname<P>(path: P) -> io::Result<SocketAddr>
164162
where
165163
P: AsRef<Path>,

0 commit comments

Comments
 (0)