# Enable \`clippy::never_loop\` \(\#9006\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 61225ecef72e3bb72c759321498ba3c6538e819b

Requested commit: 61225ecef72e3bb72c759321498ba3c6538e819b

Commit: 61225ecef72e3bb72c759321498ba3c6538e819b

Tree: 51762e1e81f6f33d03ed3523c7805d25ee1de8d6

Author: Kirpal Grewal

Committer: GitHub

## Message

```
Enable `clippy::never_loop` (#9006)

Three changes: two of which are changing `while let` construct to `if
let` as they unconditionally broke and one of which was removing a loop
in the `start_default_prettier` as it unconditionally broke in the
control flow for match installation task: the diff for this is larger
than needed as removing the loop changed a lot of indentation for
`rustfmt`.
```

## Parents

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

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