Skip to content

Provide method to reassign to already set field #4

@estebank

Description

@estebank

Currently the only way to reassign an already initialized field is through a mutable pointer, under the assumption that assigning to the same field multiple times is a mistake, but for some use-cases, like writing tests this is a useful feature and not a mistake. Provide a separate method to set_foo as a way to make the users' intention clearer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions