Skip to content

Commit ea6f9f9

Browse files
committed
Remove stability attributes on private types and leftover docs
1 parent c986310 commit ea6f9f9

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

src/libstd/sys/redox/ext/unixsocket.rs

-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![stable(feature = "unix_socket", since = "1.10.0")]
12-
1311
use fmt;
1412
use io::{self, Error, ErrorKind, Initializer};
1513
use net::Shutdown;

src/libstd/sys/unix/ext/unixsocket.rs

-16
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
// option. This file may not be copied, modified, or distributed
99
// except according to those terms.
1010

11-
#![stable(feature = "unix_socket", since = "1.10.0")]
12-
1311
//! Unix-specific networking functionality
1412
1513
#[cfg(unix)]
@@ -144,20 +142,6 @@ impl<'a> fmt::Display for AsciiEscaped<'a> {
144142
}
145143
}
146144

147-
/// A Unix stream socket.
148-
///
149-
/// # Examples
150-
///
151-
/// ```no_run
152-
/// use std::os::unix::net::UnixStream;
153-
/// use std::io::prelude::*;
154-
///
155-
/// let mut stream = UnixStream::connect("/path/to/my/socket").unwrap();
156-
/// stream.write_all(b"hello world").unwrap();
157-
/// let mut response = String::new();
158-
/// stream.read_to_string(&mut response).unwrap();
159-
/// println!("{}", response);
160-
/// ```
161145
#[stable(feature = "unix_socket", since = "1.10.0")]
162146
pub struct UnixStream(Socket);
163147

0 commit comments

Comments
 (0)