Skip to content

Commit

Permalink
Merge pull request #184 from madsmtm/appease-clippy
Browse files Browse the repository at this point in the history
Fix clippy error
  • Loading branch information
mdsteele authored May 27, 2024
2 parents 60cf179 + 9b06124 commit fe7d96f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bundle/msi_bundle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ fn collect_directory_info(
if let std::path::Component::Normal(name) = component {
dir_path.push(name);
if dir_map.contains_key(&dir_path) {
dir_key = dir_map.get(&dir_path).unwrap().key.clone();
dir_key.clone_from(&dir_map.get(&dir_path).unwrap().key);
} else {
let new_key = format!("RDIR{dir_index:04}");
dir_map.insert(
Expand Down

0 comments on commit fe7d96f

Please sign in to comment.