From 88b09c57e762c952b10d610921b09dd8cf577d70 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Thu, 18 Dec 2014 22:48:34 +0100 Subject: Add all now needed ';' after macro invocations. --- src/serialization.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/serialization.rs') diff --git a/src/serialization.rs b/src/serialization.rs index 1b9d02e..9dc4835 100644 --- a/src/serialization.rs +++ b/src/serialization.rs @@ -767,7 +767,7 @@ impl fmt::Show for DecodeError { NilTooLong => { write!(f, "expected 0-length string") } - }) + }); match self.field { Some(ref s) => { write!(f, " for the key `{}`", s) @@ -823,18 +823,18 @@ mod tests { let mut e = Encoder::new(); $t.encode(&mut e).unwrap(); e.toml - }) ) + }) ); macro_rules! decode( ($t:expr) => ({ let mut d = Decoder::new($t); Decodable::decode(&mut d).unwrap() - }) ) + }) ); macro_rules! map( ($($k:ident: $v:expr),*) => ({ let mut _m = TreeMap::new(); $(_m.insert(stringify!($k).to_string(), $v);)* _m - }) ) + }) ); #[test] fn smoke() { -- cgit v1.2.3