Skip to content

Commit

Permalink
Merge pull request #306 from dtolnay/noinline
Browse files Browse the repository at this point in the history
Mark format_err macro as doc(no_inline)
  • Loading branch information
dtolnay committed Apr 29, 2023
2 parents e4db1f9 + d491b88 commit 3c33b4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ trait StdError: Debug + Display {
}
}

#[doc(no_inline)]
pub use anyhow as format_err;

/// The `Error` type, a wrapper around a dynamic error type.
Expand Down

0 comments on commit 3c33b4b

Please sign in to comment.