Skip to content
Myr

Convert html links to intra-doc links

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by David Tolnay · committed by David Tolnay · parent 1cff785 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:src/error.rs+1 added-1 removed
488 unmodified lines
489 /// type of the context `C` **or** the type of the error on which the490 /// context has been attached. For details about the interaction between491 /// context and downcasting, [see here].492 ///493 /// [see here]: trait.Context.html#effect-on-downcasting493 /// [see here]: crate::Context#effect-on-downcasting494 pub fn is<E>(&self) -> bool495 where496 E: Display + Debug + Send + Sync + 'static,497 {
596 unmodified lines
modified:src/lib.rs+1 added-1 removed
137 unmodified lines
138//! - If you want only errors to have backtraces, set `RUST_LIB_BACKTRACE=1`;139//! - If you want only panics to have backtraces, set `RUST_BACKTRACE=1` and140//! `RUST_LIB_BACKTRACE=0`.141//!142//! [`std::backtrace`]: https://doc.rust-lang.org/std/backtrace/index.html#environment-variables142//! [`std::backtrace`]: std::backtrace#environment-variables143//!144//! - Anyhow works with any error type that has an impl of `std::error::Error`,145//! including ones defined in your crate. We do not bundle a `derive(Error)`146//! macro but you can write the impls yourself or use a standalone macro like
586 unmodified lines