# Enable \`clippy::needless_borrowed_reference\` \(\#8746\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ca9d5a2f6b2444c168becd80d1d9064614556520

Requested commit: ca9d5a2f6b2444c168becd80d1d9064614556520

Commit: ca9d5a2f6b2444c168becd80d1d9064614556520

Tree: d80eb9edf12d5ef3e77475dd60b5e576e6adf649

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::needless_borrowed_reference` (#8746)

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

## Parents

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

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