zed: Remove unnecessary clones (#29513)

`App::http_client` and `Client::http_client` both return an owned `Arc`
which it clones internally. This means we can remove unnecessary clones
when calling these methods.

Release Notes:

- N/A
This commit is contained in:
tidely
2025-04-27 19:23:37 -07:00
committed by GitHub
parent 609c528ceb
commit f060918b57
10 changed files with 13 additions and 17 deletions
+1 -1
View File
@@ -503,7 +503,7 @@ impl CodegenAlternative {
}
}
let http_client = cx.http_client().clone();
let http_client = cx.http_client();
let telemetry = self.telemetry.clone();
let language_name = {
let multibuffer = self.buffer.read(cx);