aboutsummaryrefslogtreecommitdiff
path: root/src/serialization.rs
diff options
context:
space:
mode:
authorVictor Berger <victor.berger@m4x.org>2014-12-18 22:48:34 +0100
committerVictor Berger <victor.berger@m4x.org>2014-12-18 22:48:34 +0100
commit88b09c57e762c952b10d610921b09dd8cf577d70 (patch)
tree45c0c18130219a9135775a78d4775365c76a6563 /src/serialization.rs
parent58825221124db0edbdecef6a331a872a5e20dacb (diff)
downloadmilf-rs-88b09c57e762c952b10d610921b09dd8cf577d70.tar.gz
milf-rs-88b09c57e762c952b10d610921b09dd8cf577d70.zip
Add all now needed ';' after macro invocations.
Diffstat (limited to 'src/serialization.rs')
-rw-r--r--src/serialization.rs8
1 files changed, 4 insertions, 4 deletions
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() {