From d216c8203287a8492c35b38bcd2ff2be4a3141c1 Mon Sep 17 00:00:00 2001 From: SteveLauC Date: Sun, 8 Sep 2024 14:41:14 +0800 Subject: [PATCH] style: allow clippy::too_long_first_doc_paragraph (#2488) * style: allow clippy::too_long_first_doc_paragraph * style: fmt --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 02234c0ec7..260e751b10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,6 +43,9 @@ #![crate_name = "nix"] #![cfg(unix)] #![allow(non_camel_case_types)] +// A clear document is a good document no matter if it has a summary in its +// first paragraph or not. +#![allow(clippy::too_long_first_doc_paragraph)] #![recursion_limit = "500"] #![deny(unused)] #![allow(unused_macros)]