Skip to content

Commit facd920

Browse files
committed
fix unrelated clippy warning
1 parent 067bcb4 commit facd920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/actions/experiments/edit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ impl Action for EditExperiment {
153153
if let Some(requirement) = self.requirement {
154154
let changes = t.execute(
155155
"UPDATE experiments SET requirement = ?1 WHERE name = ?2;",
156-
&[&requirement.to_string(), &self.name],
156+
&[&requirement, &self.name],
157157
)?;
158158
assert_eq!(changes, 1);
159159
ex.requirement = Some(requirement);

0 commit comments

Comments
 (0)