estebank / makeit

Zero-overhead type-safe builder pattern `derive` macro for your Rust structs
223 stars 11 forks source link

Remove `Default` where clause on fields with default attribute #13

Closed tqwewe closed 2 years ago

tqwewe commented 2 years ago

Fixes #12

Only adds the where T: std::default::Default on fields which have an empty default #[default].