diff options
Diffstat (limited to 'src/libstd/sys/redox')
| -rw-r--r-- | src/libstd/sys/redox/ext/net.rs | 6 |
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) } |
