summaryrefslogtreecommitdiff
path: root/server/src/message.rs
diff options
context:
space:
mode:
Diffstat (limited to 'server/src/message.rs')
-rw-r--r--server/src/message.rs6
1 files changed, 3 insertions, 3 deletions
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)),*]
}
};
}