# Enable \`clippy::option_map_unit_fn\` \(\#8751\) · gitcafe/zed

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

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

Visibility: public

Requested revision: ea68f86476ce05e1d94741a903f2c230c01bef74

Requested commit: ea68f86476ce05e1d94741a903f2c230c01bef74

Commit: ea68f86476ce05e1d94741a903f2c230c01bef74

Tree: 5d2764c5510303e38f3215c62bf5f50fc17765a3

Author: Marshall Bowers

Committer: GitHub

## Message

```
Enable `clippy::option_map_unit_fn` (#8751)

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

## Parents

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

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