From d0bc163c13fc4676999bc4c786d905d9258b4556 Mon Sep 17 00:00:00 2001 From: Ralf Biedert Date: Thu, 23 Jul 2026 12:57:42 +0200 Subject: [PATCH] Enforce M-FIRST-DOC-SENTENCE through clippy. --- src/guidelines/universal/M-STATIC-VERIFICATION.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/guidelines/universal/M-STATIC-VERIFICATION.md b/src/guidelines/universal/M-STATIC-VERIFICATION.md index 571141d..509ad55 100644 --- a/src/guidelines/universal/M-STATIC-VERIFICATION.md +++ b/src/guidelines/universal/M-STATIC-VERIFICATION.md @@ -47,7 +47,7 @@ style = { level = "warn", priority = -1 } suspicious = { level = "warn", priority = -1 } # nursery = { level = "warn", priority = -1 } # optional, might cause more false positives -# These lints are from the `restriction` lint group and prevent specific +# Additional lints are from the `restriction` and `nursery` group that prevent specific # constructs being used in source code in order to drive up consistency, # quality, and brevity allow_attributes_without_reason = "warn" @@ -71,6 +71,7 @@ unnecessary_safety_comment = "warn" unnecessary_safety_doc = "warn" unneeded_field_pattern = "warn" unused_result_ok = "warn" +too_long_first_doc_paragraph = "warn" # May cause issues with structured logging otherwise. literal_string_with_formatting_args = "allow"