Remove unneeded shorthand field pattern

This commit is contained in:
Matthias Beyer 2016-01-05 17:00:04 +01:00
parent ed72b8b250
commit 8b7ab8fae1

View file

@ -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);