From 9c2d1f35866e71d4df65ddbc57aa17ad19463827 Mon Sep 17 00:00:00 2001 From: Michael-F-Bryan Date: Sun, 17 Jul 2022 16:07:39 +0800 Subject: [PATCH] Parameter values should be converted using ToString --- crates/fj-host/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/fj-host/src/lib.rs b/crates/fj-host/src/lib.rs index 84ca2bad6..910dd342f 100644 --- a/crates/fj-host/src/lib.rs +++ b/crates/fj-host/src/lib.rs @@ -295,9 +295,9 @@ impl Parameters { pub fn insert( &mut self, key: impl Into, - value: impl Into, + value: impl ToString, ) -> &mut Self { - self.0.insert(key.into(), value.into()); + self.0.insert(key.into(), value.to_string()); self } }