# chore: Clippy fixes for 1.80 \(\#13987\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/33a67ad6b926f0de7e9632d1ee89d8c07e19e1ae)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 33a67ad6b926f0de7e9632d1ee89d8c07e19e1ae

Requested commit: 33a67ad6b926f0de7e9632d1ee89d8c07e19e1ae

Commit: 33a67ad6b926f0de7e9632d1ee89d8c07e19e1ae

Tree: 4d1a0431219be22c0b2778ee52ef3acf4d05987a

Author: Piotr Osiewicz

Committer: GitHub

## Message

```
chore: Clippy fixes for 1.80 (#13987)

The biggest hurdle turned out to be use of `Arc<Language>` in maps, as
`clippy::mutable_key_type` started triggering on it (due to - I suppose
- internal mutability on `HighlightMap`?). I switched over to using
`LanguageId` as the key type in some of the callsites, as that's what
`Language` uses anyways for it's hash/eq, though I've still had to
suppress the lint outside of language crate.

/cc @maxdeviant , le clippy guru.

Release Notes:

- N/A
```

## Parents

- [d4ddc4c62c82f0384178cdc60c5e2e48bf75489c](https://git.cafe/gitcafe/zed/commit/d4ddc4c62c82f0384178cdc60c5e2e48bf75489c?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/33a67ad6b926f0de7e9632d1ee89d8c07e19e1ae?format=markdown)
