about summary refs log tree commit diff
path: root/src/libstd/sys/redox
diff options
context:
space:
mode:
authorjD91mZM2 <me@krake.one>2018-06-26 08:23:16 +0200
committerjD91mZM2 <me@krake.one>2018-06-26 20:31:35 +0200
commitc86a7a01e27f78474ff5ce2fe7f88aa2cb14caad (patch)
treebcce0eaeb7810d12371835ef6b38b53370f96721 /src/libstd/sys/redox
parent4bebd24fcaa2a16ee9afcf51a7baca2a4b98b230 (diff)
downloadrust-c86a7a01e27f78474ff5ce2fe7f88aa2cb14caad.tar.gz
rust-c86a7a01e27f78474ff5ce2fe7f88aa2cb14caad.zip
Mention redox' behavior in doc comments
Diffstat (limited to 'src/libstd/sys/redox')
-rw-r--r--src/libstd/sys/redox/ext/net.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libstd/sys/redox/ext/net.rs b/src/libstd/sys/redox/ext/net.rs
index 0dab7db9a93..2d791fa75cf 100644
--- a/src/libstd/sys/redox/ext/net.rs
+++ b/src/libstd/sys/redox/ext/net.rs
@@ -197,6 +197,9 @@ impl UnixStream {
     ///     println!("Got error: {:?}", err);
     /// }
     /// ```
+    ///
+    /// # Platform specific
+    /// On Redox this always returns None.
     pub fn take_error(&self) -> io::Result<Option<io::Error>> {
         Ok(None)
     }
@@ -400,6 +403,9 @@ impl UnixListener {
     ///     println!("Got error: {:?}", err);
     /// }
     /// ```
+    ///
+    /// # Platform specific
+    /// On Redox this always returns None.
     pub fn take_error(&self) -> io::Result<Option<io::Error>> {
         Ok(None)
     }