File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -197,6 +197,9 @@ impl UnixStream {
197197 /// println!("Got error: {:?}", err);
198198 /// }
199199 /// ```
200+ ///
201+ /// # Platform specific
202+ /// On Redox this always returns None.
200203 pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
201204 Ok ( None )
202205 }
@@ -400,6 +403,9 @@ impl UnixListener {
400403 /// println!("Got error: {:?}", err);
401404 /// }
402405 /// ```
406+ ///
407+ /// # Platform specific
408+ /// On Redox this always returns None.
403409 pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
404410 Ok ( None )
405411 }
Original file line number Diff line number Diff line change @@ -524,6 +524,9 @@ impl UnixStream {
524524 /// println!("Got error: {:?}", err);
525525 /// }
526526 /// ```
527+ ///
528+ /// # Platform specific
529+ /// On Redox this always returns None.
527530 #[ stable( feature = "unix_socket" , since = "1.10.0" ) ]
528531 pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
529532 self . 0 . take_error ( )
@@ -846,6 +849,9 @@ impl UnixListener {
846849 /// println!("Got error: {:?}", err);
847850 /// }
848851 /// ```
852+ ///
853+ /// # Platform specific
854+ /// On Redox this always returns None.
849855 #[ stable( feature = "unix_socket" , since = "1.10.0" ) ]
850856 pub fn take_error ( & self ) -> io:: Result < Option < io:: Error > > {
851857 self . 0 . take_error ( )
You can’t perform that action at this time.
0 commit comments