Skip to content

Commit

Permalink
Fix clippy warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronriekenberg committed May 4, 2024
1 parent 07b90e8 commit 6246aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/command/path_cache.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ impl CommandPathCache {
return Ok(match cached_value {
CacheValue::NotResolvable => None,
CacheValue::Resolved(cached_path) => {
command_and_args.command_path = cached_path.clone();
command_and_args.command_path.clone_from(cached_path);
Some(command_and_args)
}
});
Expand Down

0 comments on commit 6246aa2

Please sign in to comment.