Skip to content

Convert constructors to new conventions #3853

Closed
@brson

Description

@brson

The new convention is as so:

struct Kitty {
}

impl Kitty {
    static fn new() -> Kitty { ... }
    static fn new_with_claws(claws: &[Claw]) -> Kitty { ... }
}

Still requires a snapshot before this can happen.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-cleanupCategory: PRs that clean code up or issues documenting cleanup.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions