# Enable \`clippy::drain_collect\` \(\#8745\) · gitcafe/zed

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

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

Visibility: public

Requested revision: bd00aed7db8a5e9fef4c2420a4ef31b1ce609fd9

Requested commit: bd00aed7db8a5e9fef4c2420a4ef31b1ce609fd9

Commit: bd00aed7db8a5e9fef4c2420a4ef31b1ce609fd9

Tree: 943870884ad55cc1ee38aad4f9dd32eca9a1cc51

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::drain_collect` (#8745)

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

## Parents

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

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