Skip to content

Commit

Permalink
cfg doctest to compile on all versions of rustc
Browse files Browse the repository at this point in the history
  • Loading branch information
yaahc committed Jan 19, 2022
1 parent fa22f7a commit 7beeb5c
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 @@ -201,6 +201,7 @@
//! #
//! # fn demo() -> Result<()> {
//! # let missing = "...";
//! # #[cfg(not(eyre_no_fmt_args_capture))]
//! return Err(eyre!("Missing attribute: {missing}"));
//! # Ok(())
//! # }
Expand Down

0 comments on commit 7beeb5c

Please sign in to comment.