chore: fix collapsible-if clippy warnings

1 job for v0.1.0 in 26 seconds (queued for 4 seconds)
latest