mirror of
https://github.com/hannobraun/Fornjot
synced 2025-10-28 10:48:26 +00:00
Parameter values should be converted using ToString
This commit is contained in:
parent
5b27e078e3
commit
9c2d1f3586
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user