-
Notifications
You must be signed in to change notification settings - Fork 13.4k
add CStr::display
#139994
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
base: master
Are you sure you want to change the base?
add CStr::display
#139994
Conversation
Could you add a doc comments clarifying what this does for escaping? Since this requires FCP: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you add a doc comments clarifying what this does for escaping?
Done.
{B,C}Str: minor cleanup (hopefully) uncontroversial bits extracted from rust-lang#139994.
Rollup merge of rust-lang#140118 - tamird:cstr-cleanup, r=joboet {B,C}Str: minor cleanup (hopefully) uncontroversial bits extracted from rust-lang#139994.
☔ The latest upstream changes (presumably #140127) made this pull request unmergeable. Please resolve the merge conflicts. |
{B,C}Str: minor cleanup (hopefully) uncontroversial bits extracted from rust-lang#139994.
In rust-lang/libs-team#550 the @rust-lang/libs-api team decided against implementing |
Shall I rework this? Can I use |
Yes, it's fine to rework this to return |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
The implementation delegates to `<ByteStr as Display>::fmt`. Link: rust-lang/libs-team#550 Link: rust-lang#139984.
The implementation delegates to
<ByteStr as Display>::fmt
.Link: rust-lang/libs-team#550
Link: #139984.
r? @BurntSushi
cc @Darksonn @tgross35 @ojeda @joshtriplett