File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -190,18 +190,10 @@ impl Error {
190190 /// following symbolic links.
191191 ///
192192 /// This method returns a borrowed value that is bound to the lifetime of the [`Error`]. To
193- /// obtain an owned value, the [`into_io_error`] can be used instead.
194- ///
195- /// > This is the original [`std::io::Error`] and is _not_ the same as
196- /// > [`impl From<Error> for std::io::Error`][impl] which contains
197- /// > additional context about the error.
193+ /// obtain an owned value, [`Self::into_io_error`] can be used instead.
198194 ///
199195 /// [`None`]: https://doc.rust-lang.org/stable/std/option/enum.Option.html#variant.None
200196 /// [`std::io::Error`]: https://doc.rust-lang.org/stable/std/io/struct.Error.html
201- /// [`From`]: https://doc.rust-lang.org/stable/std/convert/trait.From.html
202- /// [`Error`]: struct.Error.html
203- /// [`into_io_error`]: struct.Error.html#method.into_io_error
204- /// [impl]: struct.Error.html#impl-From%3CError%3E
205197 pub fn io_error ( & self ) -> Option < & std:: io:: Error > {
206198 match * self {
207199 Error :: Partial ( ref errs) => {
You can’t perform that action at this time.
0 commit comments