]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/dcerpc: fix rustdoc indentation
authorJason Ish <jason.ish@oisf.net>
Tue, 6 Aug 2024 16:45:05 +0000 (10:45 -0600)
committerVictor Julien <victor@inliniac.net>
Wed, 7 Aug 2024 06:31:26 +0000 (08:31 +0200)
Fixes clippy lint:

error: doc list item missing indentation
   --> src/dcerpc/dcerpc.rs:511:9
    |
511 |     ///  description: direction of the flow
    |         ^
    |
    = help: if this is supposed to be its own paragraph, add a blank line
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#doc_lazy_continuation

rust/src/dcerpc/dcerpc.rs

index 3a1af7df5316fe0060890162b810347dc4a28ee1..62b2e1164eff17d707a1acdd174fc258fa9a82ad 100644 (file)
@@ -507,8 +507,8 @@ impl DCERPCState {
     ///             type: unsigned 32 bit integer
     ///      description: call_id param derived from TCP Header
     /// * `dir`:
-    ///         type: enum Direction
-    ///  description: direction of the flow
+    ///             type: enum Direction
+    ///      description: direction of the flow
     ///
     /// Return value:
     /// Option mutable reference to DCERPCTransaction