Remove unneeded shorthand field pattern
This commit is contained in:
parent
4b489b2088
commit
ed72b8b250
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ mod test {
|
|||
use std::ops::Deref;
|
||||
|
||||
match k {
|
||||
&FHD::Key{name: ref name, value: ref value} => {
|
||||
&FHD::Key{ref name, ref value} => {
|
||||
assert!(name == "a" || name == "b", "Key unknown");
|
||||
match value.deref() {
|
||||
&FHD::Array{values: ref vs} => {
|
||||
|
|
Loading…
Reference in a new issue