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 --> serde_derive/src/internals/attr.rs:710:33 | 710 | (Some((untagged_tokens, _)), Some((tag_tokens, _)), None) => { | ^ 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 --> serde_derive/src/internals/attr.rs:721:33 | 721 | (Some((untagged_tokens, _)), None, Some((content_tokens, _))) => { | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns warning: matching over `()` is more explicit --> serde_derive/src/internals/attr.rs:728:33 | 728 | (Some((untagged_tokens, _)), Some((tag_tokens, _)), Some((content_tokens, _))) => { | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns warning: matching over `()` is more explicit --> serde_derive/src/internals/attr.rs:750:44 | 750 | (_, Some((field_identifier_tokens, _)), Some((variant_identifier_tokens, _))) => { | ^ help: use `()` instead of `_`: `()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#ignored_unit_patterns warning: matching over `()` is more explicit --> serde_derive/src/internals/attr.rs:750:82 | 750 | (_, Some((field_identifier_tokens, _)), Some((variant_identifier_tokens, _))) => { | ^ 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