From bc33c24bd29029e2e609c94f59b67dec489bb325 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 19 Feb 2025 18:49:20 -0800 Subject: [PATCH] Convert html links to intra-doc links --- src/error.rs | 2 +- src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error.rs b/src/error.rs index 4c4504b..098b328 100644 --- a/src/error.rs +++ b/src/error.rs @@ -490,7 +490,7 @@ impl Error { /// context has been attached. For details about the interaction between /// context and downcasting, [see here]. /// - /// [see here]: trait.Context.html#effect-on-downcasting + /// [see here]: crate::Context#effect-on-downcasting pub fn is(&self) -> bool where E: Display + Debug + Send + Sync + 'static, diff --git a/src/lib.rs b/src/lib.rs index 947ed20..70fbf3a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -139,7 +139,7 @@ //! - If you want only panics to have backtraces, set `RUST_BACKTRACE=1` and //! `RUST_LIB_BACKTRACE=0`. //! -//! [`std::backtrace`]: https://doc.rust-lang.org/std/backtrace/index.html#environment-variables +//! [`std::backtrace`]: std::backtrace#environment-variables //! //! - Anyhow works with any error type that has an impl of `std::error::Error`, //! including ones defined in your crate. We do not bundle a `derive(Error)`