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 18, 2022
1 parent 5b27e07 commit 9c2d1f3
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 @@ -295,9 +295,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 9c2d1f3

Please sign in to comment.