Remove code duplication with attribute macros
May 25, 2020 ยท View on GitHub
Remove code duplication with attribute macros
Test it with the command below. The payload is struct_fields in src/lib.rs file. Compare the proejct with born repository.
$cargo test pass -- --nocapture