# Enable \`clippy::vec_init_then_push\` \(\#8771\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 83f6a1ea49b709cc0b4500a803fca1c3cc7655f2

Requested commit: 83f6a1ea49b709cc0b4500a803fca1c3cc7655f2

Commit: 83f6a1ea49b709cc0b4500a803fca1c3cc7655f2

Tree: 55ba60d41eb24de608c1a16daf1fec27d2ff8c5c

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::vec_init_then_push` (#8771)

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

## Parents

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

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