Skip to content

Use of NonNull in Tree::new #366

@molpopgen

Description

@molpopgen

We should replace the unsafe new_unchecked with new and use ok_or_else to
propagate errors back.

(Discovered during audit related to #363)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions