Skip to content

std::path::Path::Display allocates internally #38879

Closed
@jethrogb

Description

@jethrogb

It should be possible to display a Path without doing any additional allocations, by having the lossy conversion use Formatter directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-enhancementCategory: An issue proposing an enhancement or a PR with one.E-help-wantedCall for participation: Help is requested to fix this issue.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions