Skip to content

Clarify naming convention of build() in section 3.2.1 #338

Open
@ElykDeer

Description

@ElykDeer

The current builder design pattern implies that the method the produces whatever is being built should be named build(), which seems to contradict the Rust API Guidelines on the same subject.

I think there should be some clarifying language around this: whether the method should always be named build(), or be adapted to fit the API.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-patternArea: Content about PatternsC-clarificationCategory: Content that clarifies existing contentgood first issueGood for newcomers

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions