# Enable \`clippy::unnecessary_operation\` \(\#8752\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 6a9e8faad2f724be1ddf6cff8c312f3c205193b0

Requested commit: 6a9e8faad2f724be1ddf6cff8c312f3c205193b0

Commit: 6a9e8faad2f724be1ddf6cff8c312f3c205193b0

Tree: 2772283eaab6aa8cd43d05d8bf9bbdfbfe232e2e

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::unnecessary_operation` (#8752)

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

## Parents

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

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