Skip to content

Commit a85339e

Browse files
committed
docs(ignore): remove stale io_error link
1 parent 4519153 commit a85339e

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

crates/ignore/src/lib.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff 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) => {

0 commit comments

Comments
 (0)