Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Resolve ignored_unit_patterns pedantic clippy lint
warning: matching over `()` is more explicit --> src/date.rs:25:30 | 25 | try_parse(iter).map_err(|_| { | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns = note: `-W clippy::ignored-unit-patterns` implied by `-W clippy::pedantic` warning: matching over `()` is more explicit --> src/release.rs:13:30 | 13 | try_parse(iter).map_err(|_| Error::group(paren, "expected rustc release number, like 1.31")) | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns
- Loading branch information