update io::Error::into_inner to acknowlage io::Error::other
This commit is contained in:
parent
7028d9318f
commit
b004cac72e
@ -818,10 +818,12 @@ pub fn get_mut(&mut self) -> Option<&mut (dyn error::Error + Send + Sync + 'stat
|
|||||||
|
|
||||||
/// Consumes the `Error`, returning its inner error (if any).
|
/// Consumes the `Error`, returning its inner error (if any).
|
||||||
///
|
///
|
||||||
/// If this [`Error`] was constructed via [`new`] then this function will
|
/// If this [`Error`] was constructed via [`new`] or [`other`],
|
||||||
/// return [`Some`], otherwise it will return [`None`].
|
/// then this function will return [`Some`],
|
||||||
|
/// otherwise it will return [`None`].
|
||||||
///
|
///
|
||||||
/// [`new`]: Error::new
|
/// [`new`]: Error::new
|
||||||
|
/// [`other`]: Error::other
|
||||||
///
|
///
|
||||||
/// # Examples
|
/// # Examples
|
||||||
///
|
///
|
||||||
|
Loading…
Reference in New Issue
Block a user