Skip to content

0.3.1

Compare
Choose a tag to compare
@BrynCooke BrynCooke released this 09 Jun 16:49
· 111 commits to main since this release
7417bf6

#55 Fix impl with concrete types in generics.

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

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