Fix clippy::for_kv_map lint violations (#36493)

Release Notes:

- N/A
This commit is contained in:
tidely 2025-08-20 12:22:19 +03:00 committed by GitHub
parent d4d049d7b9
commit 44941b5dfe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 16 additions and 15 deletions

View file

@ -10883,7 +10883,7 @@ impl LspStore {
// Find all worktrees that have this server in their language server tree
for (worktree_id, servers) in &local.lsp_tree.instances {
if *worktree_id != key.worktree_id {
for (_, server_map) in &servers.roots {
for server_map in servers.roots.values() {
if server_map.contains_key(&key.name) {
worktrees_using_server.push(*worktree_id);
}