diff --git a/crates/shadowsocks/src/relay/tcprelay/aead_2022.rs b/crates/shadowsocks/src/relay/tcprelay/aead_2022.rs index 21622b926cb7..7be2b3361316 100644 --- a/crates/shadowsocks/src/relay/tcprelay/aead_2022.rs +++ b/crates/shadowsocks/src/relay/tcprelay/aead_2022.rs @@ -102,7 +102,7 @@ pub enum ProtocolError { DecryptLengthError, #[error("invalid stream type, expecting {0:#x}, but found {1:#x}")] InvalidStreamType(u8, u8), - #[error("invalid timestamp {0} - now {1} = {}", *.0 as i64 - *.1 as i64)] + #[error("invalid timestamp {0} - now {1} = {ts_diff}", ts_diff = *.0 as i64 - *.1 as i64)] InvalidTimestamp(u64, u64), }