Skip to content

Commit

Permalink
fix: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
bodymindarts committed Sep 12, 2022
1 parent 944267f commit 5d6f14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/workspace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ impl Workspace {
}
};
let file_name = path.to_str().unwrap().to_string();
let ident = FileIdent::new(file_name.clone(), None);
let ident = FileIdent::new(file_name, None);
if let Some(ident) = inserted_files.remove(&ident.name()) {
new_env_state.files.remove(&ident);
}
Expand Down

0 comments on commit 5d6f14f

Please sign in to comment.