# Enable \`clippy::map_identity\` \(\#8731\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 52052f342bc5a71203856688cde544ddbfd254ec

Requested commit: 52052f342bc5a71203856688cde544ddbfd254ec

Commit: 52052f342bc5a71203856688cde544ddbfd254ec

Tree: 0fa2184a9d8d27a4c29d89e78f46a014dd070a1a

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::map_identity` (#8731)

This PR enables the
[`clippy::map_identity`](https://rust-lang.github.io/rust-clippy/master/index.html#/map_identity)
rule and fixes the outstanding violations.

Release Notes:

- N/A
```

## Parents

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

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