This should fix line count logic issues that the previous code had, with assumptions it would make.
This crate contains Clippy lints. For the main crate, check crates.io or GitHub.