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/ser.rs:295:72 | 295 | (_, false, false) => write!($this.dst, "{}", $v).and_then(|_| { | ^ help: use `()` instead of `_`: `()` ... 360 | serialize_float!(self, v) | ------------------------- in this macro invocation | = 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` = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info) warning: matching over `()` is more explicit --> src/ser.rs:295:72 | 295 | (_, false, false) => write!($this.dst, "{}", $v).and_then(|_| { | ^ help: use `()` instead of `_`: `()` ... 364 | serialize_float!(self, v) | ------------------------- in this macro invocation | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns = note: this warning originates in the macro `serialize_float` (in Nightly builds, run with -Z macro-backtrace for more info)
- Loading branch information