]> git.ipfire.org Git - thirdparty/suricata.git/commit
rust: fix clippy lint for redundant_closure
authorJason Ish <jason.ish@oisf.net>
Mon, 3 Oct 2022 21:25:50 +0000 (15:25 -0600)
committerVictor Julien <vjulien@oisf.net>
Tue, 4 Oct 2022 09:22:02 +0000 (11:22 +0200)
commite9597f3d0c93e225fddda839a2d8a5174d6591a4
treef0d9b3cef9ee31ed5eb198447bb0ea3afd70ddf7
parentc5b26e2043c1f050a02e867dfe0502e2642c79b4
rust: fix clippy lint for redundant_closure

Removes a closure where the function can be directly provided.
rust/src/applayer.rs
rust/src/detect/iprep.rs
rust/src/detect/stream_size.rs
rust/src/ike/parser.rs