# Use let chain to avoid \`clippy::unnecessary_unwrap\` \(\#46409\) · gitcafe/zed

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

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

Visibility: public

Requested revision: 3f2c7c6d30e9ff05052cccbea2ecb6df2e776bd4

Requested commit: 3f2c7c6d30e9ff05052cccbea2ecb6df2e776bd4

Commit: 3f2c7c6d30e9ff05052cccbea2ecb6df2e776bd4

Tree: dd3696e2909740e68f7267b9c3eedd8956ff4b43

Author: Martin Pool

Committer: GitHub

## Message

```
Use let chain to avoid `clippy::unnecessary_unwrap` (#46409)

No bug, just shows up running the tests on `clippy 0.1.92 (ded5c06cf2
2025-12-08)`

Release Notes:

- N/A
```

## Parents

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

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