Skip to content

Slices of Into<NodeId> unsound #446

Closed
@molpopgen

Description

@molpopgen

A few functions take &[T] where T: Into<NodeId>. The intent is to support client code working with tsk_id_t, but the trait bound in unsound. It is possible for a type to implement Into<NodeId> but not have the same ABI as NodeId.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions