mirror of
https://github.com/hannobraun/Fornjot
synced 2025-11-08 08:00:18 +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(
|
pub fn insert(
|
||||||
&mut self,
|
&mut self,
|
||||||
key: impl Into<String>,
|
key: impl Into<String>,
|
||||||
value: impl Into<String>,
|
value: impl ToString,
|
||||||
) -> &mut Self {
|
) -> &mut Self {
|
||||||
self.0.insert(key.into(), value.into());
|
self.0.insert(key.into(), value.to_string());
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user