Fix a panic and a false positive
This crate contains Clippy lints. For the main crate, check cargo.io or GitHub.