Skip to content

Commit

Permalink
chore: fix clippy's redundant clone
Browse files Browse the repository at this point in the history
  • Loading branch information
sranka committed Jun 11, 2020
1 parent 96739ea commit 1b483e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libflux/src/core/semantic/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ impl Function {
// This means they should match. Enforce this condition by inserting
// the pipe argument into the required ones with the same key.
f.req.insert(fp.k.clone(), fp.v);
g.req.insert(fp.k.clone(), gp.v);
g.req.insert(fp.k, gp.v);
}
}
// F has a pipe argument and g does not.
Expand Down

0 comments on commit 1b483e4

Please sign in to comment.