Skip to content

Commit

Permalink
Fix new Clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed May 17, 2024
1 parent 29ccbb2 commit 1367d26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ impl Index {
log::debug!("found {viz} index entry '{content}' which maps to '{index_entry}'");
// Accumulate location against see_instead target if present
if let Some(dest) = self.see_instead.get(&index_entry) {
index_entry = dest.clone();
index_entry.clone_from(dest);
log::debug!("...or in fact '{index_entry}'");
}

Expand Down

0 comments on commit 1367d26

Please sign in to comment.