Skip to content

fs::create_dir_all fails for path/ #22737

Closed
@alexcrichton

Description

@alexcrichton

For example, the following code will fail:

fs::create_dir_all("a/");

This is because the parent of a/ is a which is basically the same path.

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