From 52f6e96ee86fd806c1b81a87a70873a0bcbf1e28 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 8 Oct 2019 21:15:08 -0700 Subject: [PATCH] Ignore needless_doctest_main lint --- serde/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serde/src/lib.rs b/serde/src/lib.rs index b52c9501..a4a66308 100644 --- a/serde/src/lib.rs +++ b/serde/src/lib.rs @@ -112,6 +112,8 @@ too_many_lines, // preference doc_markdown, + // false positive + needless_doctest_main, ) )] // Rustc lints.