summaryrefslogtreecommitdiff
path: root/helix-term/src/commands/lsp.rs
diff options
context:
space:
mode:
authorTshepang Mbambo2022-12-01 16:37:38 +0000
committerGitHub2022-12-01 16:37:38 +0000
commita8a54be6bcd0667c50b7c739dbfd072df684b3c3 (patch)
tree12de85d49627e4ea8c185554de2fd8ebcfa62a3e /helix-term/src/commands/lsp.rs
parent5a3ff742218aac32c3af08993f0edb623631fc72 (diff)
Fix nightly clippy lints (#4954)
Diffstat (limited to 'helix-term/src/commands/lsp.rs')
-rw-r--r--helix-term/src/commands/lsp.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-term/src/commands/lsp.rs b/helix-term/src/commands/lsp.rs
index 1f80de5f..810e3adf 100644
--- a/helix-term/src/commands/lsp.rs
+++ b/helix-term/src/commands/lsp.rs
@@ -706,7 +706,7 @@ pub fn apply_document_resource_op(op: &lsp::ResourceOp) -> std::io::Result<()> {
if ignore_if_exists && to.exists() {
Ok(())
} else {
- fs::rename(&from, &to)
+ fs::rename(from, &to)
}
}
}