Skip to content

Commit

Permalink
Address new lints/fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
c-nixon committed Apr 14, 2022
1 parent 7135dae commit 69686ab
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/body.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,11 +761,10 @@ impl Default for KeyValueMap {
Self::new()
}
}

impl From<BTreeMap<String, String>> for KeyValueMap {
fn from(map: BTreeMap<String, String>) -> Self {
Self {
0: HashMap::from_iter(map),
}
Self(HashMap::from_iter(map))
}
}

Expand Down

0 comments on commit 69686ab

Please sign in to comment.