diff options
| author | John Millikin <john@john-millikin.com> | 2023-03-18 12:22:53 +0900 |
|---|---|---|
| committer | John Millikin <john@john-millikin.com> | 2023-03-18 12:32:09 +0900 |
| commit | a3f3db842df11849d7060eaa8c2b50d3e49bed03 (patch) | |
| tree | 3fc5b0ec612f8f29dec90a8ea7ee0ef990076032 /library/std/src/os/unix/net/addr.rs | |
| parent | 13afbdaa0655dda23d7129e59ac48f1ec88b2084 (diff) | |
| download | rust-a3f3db842df11849d7060eaa8c2b50d3e49bed03.tar.gz rust-a3f3db842df11849d7060eaa8c2b50d3e49bed03.zip | |
Stabilise `unix_socket_abstract`
Fixes https://github.com/rust-lang/rust/issues/85410
Diffstat (limited to 'library/std/src/os/unix/net/addr.rs')
| -rw-r--r-- | library/std/src/os/unix/net/addr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/std/src/os/unix/net/addr.rs b/library/std/src/os/unix/net/addr.rs index ece2b33bddf..52a0da5bf1a 100644 --- a/library/std/src/os/unix/net/addr.rs +++ b/library/std/src/os/unix/net/addr.rs @@ -245,12 +245,12 @@ impl SocketAddr { } } -#[unstable(feature = "unix_socket_abstract", issue = "85410")] +#[stable(feature = "unix_socket_abstract", since = "CURRENT_RUSTC_VERSION")] impl Sealed for SocketAddr {} #[doc(cfg(any(target_os = "android", target_os = "linux")))] #[cfg(any(doc, target_os = "android", target_os = "linux"))] -#[unstable(feature = "unix_socket_abstract", issue = "85410")] +#[stable(feature = "unix_socket_abstract", since = "CURRENT_RUSTC_VERSION")] impl linux_ext::addr::SocketAddrExt for SocketAddr { fn as_abstract_name(&self) -> Option<&[u8]> { if let AddressKind::Abstract(name) = self.address() { Some(name) } else { None } |
