Skip to content

Commit debcb22

Browse files
authored
Revert "net: add SocketAddr::as_abstract_namespace (#6144)" (#6198)
This reverts commit 2400769.
1 parent 83b7397 commit debcb22

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

tokio/src/net/unix/socketaddr.rs

-9
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,6 @@ impl SocketAddr {
2222
pub fn as_pathname(&self) -> Option<&Path> {
2323
self.0.as_pathname()
2424
}
25-
26-
/// Returns the contents of this address if it is an abstract namespace.
27-
///
28-
/// See also the standard library documentation on [`SocketAddr`].
29-
///
30-
/// [`SocketAddr`]: std::os::unix::net::SocketAddr
31-
pub fn as_abstract_namespace(&self) -> Option<&[u8]> {
32-
self.0.as_abstract_namespace()
33-
}
3425
}
3526

3627
impl fmt::Debug for SocketAddr {

0 commit comments

Comments
 (0)