Skip to content

0.3.2

Compare
Choose a tag to compare
@BrynCooke BrynCooke released this 09 Jun 18:16
· 110 commits to main since this release
14f4677

#55 Fix impl with concrete types in generics where self is used in the return type.

#[buildstructor]
impl Foo<usize> {
    #[builder]
    fn bound_new(simple: usize) -> Self {
        Self { simple }
    }
}

Previously the generated builder method was not including concrete generic type. In this case usize.