Skip to content

Commit

Permalink
Parameter values should be converted using ToString
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-F-Bryan committed Jul 17, 2022
1 parent c04b84f commit ad8150e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/fj-host/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ impl Parameters {
pub fn insert(
&mut self,
key: impl Into<String>,
value: impl Into<String>,
value: impl ToString,
) -> &mut Self {
self.0.insert(key.into(), value.into());
self.0.insert(key.into(), value.to_string());
self
}
}
Expand Down

0 comments on commit ad8150e

Please sign in to comment.