Skip to content

Commit

Permalink
find: fix needless borrow clippy warning (#423)
Browse files Browse the repository at this point in the history
  • Loading branch information
cakebaker authored Jul 25, 2024
1 parent 3b222d6 commit c4a56e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/find/matchers/exec.rs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ impl Matcher for SingleExecMatcher {
for arg in &self.args {
match *arg {
Arg::LiteralArg(ref a) => command.arg(a.as_os_str()),
Arg::FileArg(ref parts) => command.arg(&parts.join(path_to_file.as_os_str())),
Arg::FileArg(ref parts) => command.arg(parts.join(path_to_file.as_os_str())),
};
}
if self.exec_in_parent_dir {
Expand Down

0 comments on commit c4a56e9

Please sign in to comment.