diff --git a/src/storage/json/parser.rs b/src/storage/json/parser.rs index 6a448c08..1b67be1a 100644 --- a/src/storage/json/parser.rs +++ b/src/storage/json/parser.rs @@ -236,7 +236,7 @@ mod test { &FHD::Map{keys: ref ks} => { for key in ks.iter() { match key { - &FHD::Key{name: ref name, value: ref value} => { + &FHD::Key{ref name, ref value} => { match value.deref() { &FHD::Integer(i) => { assert_eq!(i, -2);