We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ad9332 commit 6fdcf27Copy full SHA for 6fdcf27
src/main.rs
@@ -85,7 +85,11 @@ fn match_json(value: &Value, value1: &Value) -> Mismatch {
85
if let Some(right_keys) = right_keys {
86
right.append(&mut right_keys.iter().map(append_key).collect::<Vec<String>>());
87
}
88
- mismatch_keys
+ if let Some(mismatch_keys) = mismatch_keys {
89
+ Some(mismatch_keys.iter().map(append_key).collect::<Vec<String>>())
90
+ } else {
91
+ None
92
+ }
93
},
94
} {
95
unequal_keys.append(&mut keys);
0 commit comments