Change attribute style
Closed this issue · 0 comments
idanarye commented
Instead of:
struct Foo {
#[default = "12"]
bar: i32,
#[default]
baz: i32,
}
Use
struct Foo {
#[builder(default = 12)]
bar: i32,
#[builder(default)]
baz: i32,
}