tracing_assert_macros/
readme_doctests.rs

1//! Compiles and runs any rust code found in the README.md in the root of the repo.
2macro_rules! external_doc_test {
3    ($x:expr) => {
4        #[allow(dead_code)] // Addresses clippy lint for: "struct is never constructed: `ReadmeDoctests`"
5        #[doc = $x]
6        struct ReadmeDoctests;
7    };
8}
9external_doc_test!(include_str!("../README.md"));