Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore clippy::redundant_guards warning
``` error: redundant guard --> tools/codegen/src/main.rs:91:24 | 91 | if matches!(vis, syn::Visibility::Public(..)) => | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#redundant_guards = note: `-D clippy::redundant-guards` implied by `-D warnings` help: try | 90 - syn::Item::Struct(syn::ItemStruct { vis, ident, fields, .. }) 90 + syn::Item::Struct(syn::ItemStruct { vis: syn::Visibility::Public(..), ident, fields, .. }) => | ```
- Loading branch information