equal
deleted
inserted
replaced
258 }; |
258 }; |
259 } |
259 } |
260 |
260 |
261 macro_rules! msg { |
261 macro_rules! msg { |
262 [$($part: expr),*] => { |
262 [$($part: expr),*] => { |
263 format!(concat!($(const_braces!($part)),*, "\n"), $($part),*); |
263 format!(concat!($(const_braces!($part)),*, "\n"), $($part),*) |
264 }; |
264 }; |
265 } |
265 } |
266 |
266 |
267 impl HwProtocolMessage { |
267 impl HwProtocolMessage { |
268 /** Converts the message to a raw `String`, which can be sent over the network. |
268 /** Converts the message to a raw `String`, which can be sent over the network. |