Skip to content

Commit

Permalink
chore: fix clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
arbimo committed Jan 31, 2024
1 parent ac2587c commit 4d1bf2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions planning/grpc/server/src/chronicles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 4d1bf2d

Please sign in to comment.