fix: clippy warning for unnecessary closure
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Now that MSRV is above 1.62, we can use `then_some` instead of a simple closure.
authored by Thayne McCombs · committed by Thayne McCombs · parent ee44c1e · Browse files · 1 file+1 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+1 added−1 removed
- other:+1 added−1 removed