Default derivatative triggers clippy pedantic lint
spease opened this issue · 0 comments
spease commented
EG:
error: Calling std::option::Option<V>::default() is more clear than this expression
See https://rust-lang.github.io/rust-clippy/master/#default_trait_access
This seems to be caused by the usage of default_trait_path to call default() in the generated code rather than using the type name directly.
Sorry no code sample (this is for work code) but it looks pretty straightforward from the code on github.