Fix clippy::needless_borrow lint violations (#36444)
Release Notes: - N/A
This commit is contained in:
parent
eecf142f06
commit
9e0e233319
242 changed files with 801 additions and 821 deletions
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue