Skip to content

Path::new should return Option<Path> vs. failing (if there is a null byte) #14048

Closed
@carllerche

Description

@carllerche

Failing prevents using Path::new in an embedded scenario (not wrapped in a task).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions