-
Notifications
You must be signed in to change notification settings - Fork 13.3k
impl Display for CStr{,ing}
#139994
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
base: master
Are you sure you want to change the base?
impl Display for CStr{,ing}
#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. |
Delegate to `<ByteStr as Display>::fmt`. Link: rust-lang/libs-team#550 Link: rust-lang#139984.
{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 |
Delegate to
<ByteStr as Display>::fmt
.Link: rust-lang/libs-team#550
Link: #139984.
r? @BurntSushi
cc @Darksonn @tgross35 @ojeda @joshtriplett