]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
rust/smb: fix rustdoc line
authorJason Ish <jason.ish@oisf.net>
Thu, 28 Nov 2024 15:54:12 +0000 (09:54 -0600)
committerJason Ish <jason.ish@oisf.net>
Wed, 4 Dec 2024 18:35:17 +0000 (12:35 -0600)
'///' style rust comments/documentation come before the item being
documented.

Spotted by clippy.

(cherry picked from commit aa6e94fc73be4843e4379d3539ba4fee38b63aaf)

rust/src/smb/smb.rs

index 53058890b1b02e2bccb359390b9cbfe3bafbe1ca..b936f89211ac14ee8b27c9e4b08e79073792cde1 100644 (file)
@@ -469,7 +469,8 @@ impl SMBTransactionTreeConnect {
 
 #[derive(Debug)]
 pub struct SMBTransaction {
-    pub id: u64,    /// internal id
+    /// internal id
+    pub id: u64,
 
     /// version, command and status
     pub vercmd: SMBVerCmdStat,