From ad8150e0c919e76027c7a3c3c418d97ae5c50ee2 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 4644e44d9..512484da1 100644 --- a/crates/fj-host/src/lib.rs +++ b/crates/fj-host/src/lib.rs @@ -270,9 +270,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 } }