From 78d670ae8fd7e99a0ea3f57abaa92a22acbbc094 Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Sun, 8 Sep 2024 13:12:40 +0800 Subject: [PATCH 1/2] style: allow clippy::too_long_first_doc_paragraph --- src/lib.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 02234c0ec7..9f121f1e40 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)] From 7ceadef3c2535b5ce63faaf2a0ffe86ac115bfca Mon Sep 17 00:00:00 2001 From: Steve Lau Date: Sun, 8 Sep 2024 13:15:18 +0800 Subject: [PATCH 2/2] style: fmt --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 9f121f1e40..260e751b10 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -43,7 +43,7 @@ #![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 +// 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"]