Skip to content

Commit

Permalink
Fix clippy warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed Mar 15, 2024
1 parent bd63fea commit 81d3766
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 81d3766

Please sign in to comment.