Update crates/rust-analyzer/src/handlers/request.rs

This commit is contained in:
Lukas Wirth 2023-06-28 11:57:36 +02:00 committed by GitHub
parent b96796ce5e
commit f8518a6cfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -549,10 +549,6 @@ pub(crate) fn handle_will_rename_files(
) -> anyhow::Result<Option<lsp_types::WorkspaceEdit>> {
let _p = profile::span("handle_will_rename_files");
if let Err(err) = resource_ops_supported(&snap.config, ResourceOperationKind::Rename) {
return Err(err);
}
let source_changes: Vec<SourceChange> = params
.files
.into_iter()