about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorjD91mZM2 <me@krake.one>2018-07-03 11:13:16 +0200
committerjD91mZM2 <me@krake.one>2018-07-03 11:13:16 +0200
commitea6f9f9c5529bb3f222ccf95c75bc54609cd99b7 (patch)
treea672f72140786f91248b6caeffb66f307e1611c4 /src/libstd
parentc98631075748d19c1dce3768fdff9918e8f1492a (diff)
downloadrust-ea6f9f9c5529bb3f222ccf95c75bc54609cd99b7.tar.gz
rust-ea6f9f9c5529bb3f222ccf95c75bc54609cd99b7.zip
Remove stability attributes on private types and leftover docs
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/sys/redox/ext/unixsocket.rs2
-rw-r--r--src/libstd/sys/unix/ext/unixsocket.rs16
2 files changed, 0 insertions, 18 deletions
diff --git a/src/libstd/sys/redox/ext/unixsocket.rs b/src/libstd/sys/redox/ext/unixsocket.rs
index be37575145a..5f7b2df8992 100644
--- a/src/libstd/sys/redox/ext/unixsocket.rs
+++ b/src/libstd/sys/redox/ext/unixsocket.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![stable(feature = "unix_socket", since = "1.10.0")]
-
 use fmt;
 use io::{self, Error, ErrorKind, Initializer};
 use net::Shutdown;
diff --git a/src/libstd/sys/unix/ext/unixsocket.rs b/src/libstd/sys/unix/ext/unixsocket.rs
index 124555141a3..ad2d7019cb8 100644
--- a/src/libstd/sys/unix/ext/unixsocket.rs
+++ b/src/libstd/sys/unix/ext/unixsocket.rs
@@ -8,8 +8,6 @@
 // option. This file may not be copied, modified, or distributed
 // except according to those terms.
 
-#![stable(feature = "unix_socket", since = "1.10.0")]
-
 //! Unix-specific networking functionality
 
 #[cfg(unix)]
@@ -144,20 +142,6 @@ impl<'a> fmt::Display for AsciiEscaped<'a> {
     }
 }
 
-/// A Unix stream socket.
-///
-/// # Examples
-///
-/// ```no_run
-/// use std::os::unix::net::UnixStream;
-/// use std::io::prelude::*;
-///
-/// let mut stream = UnixStream::connect("/path/to/my/socket").unwrap();
-/// stream.write_all(b"hello world").unwrap();
-/// let mut response = String::new();
-/// stream.read_to_string(&mut response).unwrap();
-/// println!("{}", response);
-/// ```
 #[stable(feature = "unix_socket", since = "1.10.0")]
 pub struct UnixStream(Socket);