From 696dbdd2238e919bffa756fff1f02ace90a81ecb Mon Sep 17 00:00:00 2001 From: metamuffin Date: Sun, 24 Nov 2024 17:18:01 +0100 Subject: Manual clippy --- server/src/message.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/src/message.rs') diff --git a/server/src/message.rs b/server/src/message.rs index 79c004a2..069c2b0b 100644 --- a/server/src/message.rs +++ b/server/src/message.rs @@ -25,7 +25,7 @@ macro_rules! trm { ($id:literal $(, $typ:ident = $param:expr)*) => { hurrycurry_protocol::Message::Translation { id: $id.to_owned(), - params: vec![$(crate::trm_param!($typ, $param)),*] + params: vec![$($crate::trm_param!($typ, $param)),*] } }; } @@ -76,9 +76,9 @@ impl Debug for TrError { #[macro_export] macro_rules! tre { ($id:literal $(, $typ:ident = $param:expr)*) => { - crate::message::TrError::Tr { + $crate::message::TrError::Tr { id: $id, - params: vec![$(crate::tre_param!($typ, $param)),*] + params: vec![$($crate::tre_param!($typ, $param)),*] } }; } -- cgit v1.2.3-70-g09d2