From 4d1bf2d5d194ac91591ea6efa56be337d90c32f2 Mon Sep 17 00:00:00 2001 From: Arthur Bit-Monnot Date: Wed, 31 Jan 2024 17:32:25 +0100 Subject: [PATCH] chore: fix clippy lints --- planning/grpc/server/src/chronicles.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/planning/grpc/server/src/chronicles.rs b/planning/grpc/server/src/chronicles.rs index 3bbb42cc..d0370468 100644 --- a/planning/grpc/server/src/chronicles.rs +++ b/planning/grpc/server/src/chronicles.rs @@ -540,12 +540,12 @@ impl<'a> ChronicleFactory<'a> { // append parameters to the name of the chronicle self.chronicle.name.push(arg.into()); - self.variables.push(arg.into()); + self.variables.push(arg); // add parameter to the mapping let name_string = name.to_string(); assert!(!self.env.parameters.contains_key(&name_string)); - self.env.parameters.insert(name_string, arg.into()); + self.env.parameters.insert(name_string, arg); Ok(arg) }