From: Jason Ish Date: Thu, 28 Nov 2024 15:54:12 +0000 (-0600) Subject: rust/smb: fix rustdoc line X-Git-Tag: suricata-8.0.0-beta1~678 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa6e94fc73be4843e4379d3539ba4fee38b63aaf;p=thirdparty%2Fsuricata.git rust/smb: fix rustdoc line '///' style rust comments/documentation come before the item being documented. Spotted by clippy. --- diff --git a/rust/src/smb/smb.rs b/rust/src/smb/smb.rs index 901ed2a239..9bba6e0345 100644 --- a/rust/src/smb/smb.rs +++ b/rust/src/smb/smb.rs @@ -480,7 +480,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,