Fix clippy::needless_borrow lint violations (#36444)

Release Notes:

- N/A
This commit is contained in:
Piotr Osiewicz 2025-08-18 23:54:35 +02:00 committed by GitHub
parent eecf142f06
commit 9e0e233319
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
242 changed files with 801 additions and 821 deletions

View file

@ -1341,7 +1341,7 @@ impl ExtensionStore {
&extension_path,
&extension.manifest,
wasm_host.clone(),
&cx,
cx,
)
.await
.with_context(|| format!("Loading extension from {extension_path:?}"));
@ -1776,7 +1776,7 @@ impl ExtensionStore {
})?;
for client in clients {
Self::sync_extensions_over_ssh(&this, client, cx)
Self::sync_extensions_over_ssh(this, client, cx)
.await
.log_err();
}

View file

@ -175,7 +175,7 @@ impl HeadlessExtensionStore {
}
let wasm_extension: Arc<dyn Extension> =
Arc::new(WasmExtension::load(&extension_dir, &manifest, wasm_host.clone(), &cx).await?);
Arc::new(WasmExtension::load(&extension_dir, &manifest, wasm_host.clone(), cx).await?);
for (language_server_id, language_server_config) in &manifest.language_servers {
for language in language_server_config.languages() {