Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Work around dead_code warning in tests
warning: field `0` is never read --> tests/helper/lib.rs:5:19 | 5 | pub struct Struct(str); | ------ ^^^ | | | field in this struct | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 5 | pub struct Struct(()); | ~~ warning: field `0` is never read --> tests/test_custom.rs:7:23 | 7 | pub struct Custom(str); | ------ ^^^ | | | field in this struct | = note: `#[warn(dead_code)]` on by default help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field | 7 | pub struct Custom(()); | ~~
- Loading branch information