We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 012ae13 + b004cac commit 61b7fe0Copy full SHA for 61b7fe0
library/std/src/io/error.rs
@@ -818,10 +818,12 @@ impl Error {
818
819
/// Consumes the `Error`, returning its inner error (if any).
820
///
821
- /// If this [`Error`] was constructed via [`new`] then this function will
822
- /// return [`Some`], otherwise it will return [`None`].
+ /// If this [`Error`] was constructed via [`new`] or [`other`],
+ /// then this function will return [`Some`],
823
+ /// otherwise it will return [`None`].
824
825
/// [`new`]: Error::new
826
+ /// [`other`]: Error::other
827
828
/// # Examples
829
0 commit comments