Skip to content

impl Show for Path? #15827

Closed
Closed
@liigo

Description

@liigo

Path does not impl Show currently.
Sometimes you can't simply use Path.display(), for example:

let path = Some(Path::new("/home/liigo"));
println!("{}", path); // error: failed to find an implementation of trait core::fmt::Show for std::path::windows::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