From b711125cae33fd29ce822ce83a2cd72b7e58a1c4 Mon Sep 17 00:00:00 2001 From: Yoshitomo Nakanishi Date: Sat, 2 Mar 2024 09:55:56 +0100 Subject: [PATCH] Make clippy happy --- dir-test/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) 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. //!