We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9709785 + 19c29c4 commit ecef6c7Copy full SHA for ecef6c7
1 file changed
src/libstd/io/error.rs
@@ -487,9 +487,9 @@ impl Error {
487
/// }
488
///
489
/// fn main() {
490
- /// // Will print "No inner error".
+ /// // Will print "Other".
491
/// print_error(Error::last_os_error());
492
- /// // Will print "Inner error: ...".
+ /// // Will print "AddrInUse".
493
/// print_error(Error::new(ErrorKind::AddrInUse, "oh no!"));
494
495
/// ```
0 commit comments