diff --git a/dir-test/src/lib.rs b/dir-test/src/lib.rs index 045afb1..f91e7f6 100644 --- a/dir-test/src/lib.rs +++ b/dir-test/src/lib.rs @@ -1,3 +1,5 @@ +#![allow(clippy::test_attr_in_doctest)] +#![cfg(not(doctest))] //! `dir-test` provides a macro to generate single test cases from files in a //! directory. //!