From: Philippe Antoine Date: Mon, 9 Sep 2024 09:09:52 +0000 (+0200) Subject: rust/detect: fix too_long_first_doc_paragraph clippy warning X-Git-Tag: suricata-8.0.0-beta1~888 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc3c048b49c5c949836367176b81054e2fbd828e;p=thirdparty%2Fsuricata.git 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 --- diff --git a/rust/src/detect/iprep.rs b/rust/src/detect/iprep.rs index f4082683c3..e403d168c8 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).