Simplify code

This commit is contained in:
David Peter committed 2022-02-20 17:04:50 +01:00
1 parent b78c77ec95
commit 3c772009c4
1 file changed
+1 -1
+1 -1
View File
@@ -571,7 +571,7 @@ impl<'a> Scheduler<'a> {
parameters: command
.get_parameters()
.iter()
.map(|(name, value)| ((*name).to_string(), value.to_string()))
.map(|(name, value)| (name.to_string(), value.to_string()))
.collect(),
})
}