Remove unneeded shorthand field pattern
This commit is contained in:
parent
ed72b8b250
commit
8b7ab8fae1
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue