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 ef7188f commit c55b649Copy full SHA for c55b649
src/path/mod.rs
@@ -193,7 +193,7 @@ impl Expression {
193
match value.kind {
194
ValueKind::Table(ref incoming_map) => {
195
// Pull out another table
196
- let mut target = if let ValueKind::Table(ref mut map) = root.kind {
+ let target = if let ValueKind::Table(ref mut map) = root.kind {
197
map.entry(id.clone())
198
.or_insert_with(|| Map::<String, Value>::new().into())
199
} else {
@@ -202,7 +202,7 @@ impl Expression {
202
203
// Continue the deep merge
204
for (key, val) in incoming_map {
205
- Expression::Identifier(key.clone()).set(&mut target, val.clone());
+ Expression::Identifier(key.clone()).set(target, val.clone());
206
}
207
208
0 commit comments