# Enable \`clippy::unnecessary_to_owned\` \(\#8908\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bca98caa075f4b93041a6f058a5550966d3cce03

Requested commit: bca98caa075f4b93041a6f058a5550966d3cce03

Commit: bca98caa075f4b93041a6f058a5550966d3cce03

Tree: 3c412021a1d2d21a2ec32e94c6bd13455cb5a1cd

Author: Kirpal Grewal

Committer: GitHub

## Message

```
Enable `clippy::unnecessary_to_owned` (#8908)

lint for `unnecessary_to_owned` and fix the sole violation in the
codebase
```

## Parents

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

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