]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust/detect: fix too_long_first_doc_paragraph clippy warning
authorPhilippe Antoine <pantoine@oisf.net>
Mon, 9 Sep 2024 09:09:52 +0000 (11:09 +0200)
committerVictor Julien <victor@inliniac.net>
Tue, 17 Sep 2024 20:16:41 +0000 (22:16 +0200)
commit9571df8936e071ed82cbd72beb1891ec04de923d
tree3456674dab48c9b7eab72385d837898012017f09
parentd3927afb70a4c268ed6e77ce0db121590d47fc97
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