From 9571df8936e071ed82cbd72beb1891ec04de923d Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Mon, 9 Sep 2024 11:09:52 +0200 Subject: [PATCH] rust/detect: fix too_long_first_doc_paragraph clippy warning warning: first doc comment paragraph is too long --> src/detect/iprep.rs:57:1 | 57 | / /// value matching is done use `DetectUintData` logic. 58 | | /// isset matching is done using special `DetectUintData` value ">= 0" 59 | | /// isnotset matching bypasses `DetectUintData` and is handled directly 60 | | /// in the match function (in C). | |_ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph = note: `#[warn(clippy::too_long_first_doc_paragraph)]` on by default help: add an empty line (cherry picked from commit dc3c048b49c5c949836367176b81054e2fbd828e) --- rust/src/detect/iprep.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/rust/src/detect/iprep.rs b/rust/src/detect/iprep.rs index 6604628edd..b2827368be 100644 --- a/rust/src/detect/iprep.rs +++ b/rust/src/detect/iprep.rs @@ -55,6 +55,7 @@ impl std::str::FromStr for DetectIPRepDataCmd { } /// value matching is done use `DetectUintData` logic. +/// /// isset matching is done using special `DetectUintData` value ">= 0" /// isnotset matching bypasses `DetectUintData` and is handled directly /// in the match function (in C). -- 2.47.2