-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(offchain): suppress rust-clippy warnings
Full list of warnings: - avoid warning `large_enum_variant` from cargo clippy on `pub enum MachineOneof`, built from grpc-interfaces. More at https://rust-lang.github.io/rust-clippy/master/index.html#large_enum_variant - allow enum variants with same suffix. More at https://rust-lang.github.io/rust-clippy/master/index.html#enum_variant_names. - allow too many arguments in fn. More at https://rust-lang.github.io/rust-clippy/master/index.html#/too_many_arguments. - allow capitalized acronym. More at https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms.
- Loading branch information
1 parent
313713b
commit 32f27f3
Showing
6 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# This avoids warning `large_enum_variant` on `pub enum MachineOneof`, built from grpc-interfaces. | ||
enum-variant-size-threshold = 2500 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters