Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
yorhodes committed Oct 14, 2023
1 parent 2c65484 commit 34eded4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rust/hyperlane-base/src/settings/loader/case_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ fn recase_pair(key: String, mut val: Value, case: Case) -> (String, Value) {
.drain()
.map(|(k, v)| recase_pair(k, v, case))
.collect_vec();
table.extend(tmp.into_iter());
table.extend(tmp);
}
ValueKind::Array(ary) => {
let tmp = ary
.drain(..)
.map(|v| recase_pair(String::new(), v, case).1)
.collect_vec();
ary.extend(tmp.into_iter())
ary.extend(tmp)
}
_ => {}
}
Expand Down

0 comments on commit 34eded4

Please sign in to comment.