# Enable \`clippy::suspicious_to_owned\` \(\#9004\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 85e6bc94e980bd91a69ef2ed5cb0372cc4e35667

Requested commit: 85e6bc94e980bd91a69ef2ed5cb0372cc4e35667

Commit: 85e6bc94e980bd91a69ef2ed5cb0372cc4e35667

Tree: 53ad64451482116fa0432a6030335c73d63983d1

Author: Kirpal Grewal

Committer: GitHub

## Message

```
Enable `clippy::suspicious_to_owned` (#9004)

Another small change: calling to owned on the `Cow` was cloning the
`Cow`, not its contents and so calling `clone` makes this more explicit
```

## Parents

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

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