-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support all formatting flags in std::path::Display
#44048
Comments
I'd like to make a test case here but I'm unclear on what the issue is. The PR (#43830) that closed #43765 added tests for the width/fill/alignment formatting flags, and I can't think of what other flags would apply to Path. I'm also not sure what "it" refers to in the sentence "not just when it's conveniently already a &str". However, given that Alex made this issue while discussing the PR, I assume he had something in mind here, so I'm hesitant to close this outright. |
Relabeling this as a feature request rather than a regression, considering four years have passed without any comments here requesting for it. @alexcrichton Can you clarify which flags you are talking about here? See the above comment. |
Not that I remember 2017 off the top of my head, but rereading here I believe that the issue is that |
This regression was initially noted in #43765 which was caused in #42613 where this struct in the standard library no longer respects all formatting flags. This is a tracking issue for supporting all formatting flags all the time, not just when it's conveniently already a
&str
.The text was updated successfully, but these errors were encountered: