Skip to content

default initialization shouldn't be done with Zero #7312

Closed
@thestinger

Description

@thestinger

We should have a Default trait for this. Implementing Zero for types like containers is very strange and it also prevents a type from implementing Zero and also having a default initialization that's not zero (an example brought up by @cmr is a UUID).

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyCall for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions