Skip to content

Commit

Permalink
Merge pull request #769 from gwenn/clippy
Browse files Browse the repository at this point in the history
Fix clippy warnings
  • Loading branch information
gwenn authored Mar 15, 2024
2 parents bd63fea + 81d3766 commit bdbcc7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/history.rs
Original file line number Diff line number Diff line change
Expand Up @@ -587,7 +587,7 @@ impl FileHistory {
)) = self.path_info
{
if previous_path.as_path() != path {
*previous_path = path.to_owned();
path.clone_into(previous_path);
}
*previous_modified = modified;
*previous_size = size;
Expand Down

0 comments on commit bdbcc7f

Please sign in to comment.