-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Implement str::from_raw_parts()
and str::from_raw_parts_mut()
#107207
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
Conversation
r? @thomcc (rustbot has picked a reviewer for you, use r? to override) |
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
@rustbot label +T-libs-api -T-libs |
The job Click to see the possible cause of the failure (guessed by this bot)
|
|
For the docs could you add something like, "if there is any doubt that the incoming data may not be UTF-8, prefer Also, I think it would be better to provide a short summary of the safety requirements and then point to |
any update on this? would be very nice to have |
I've opened a tracking issue: #119206 |
Initial implementation of `str::from_raw_parts[_mut]` ACP (accepted): rust-lang/libs-team#167 Tracking issue: rust-lang#119206 Thanks to `@Kixiron` for previous work on this (rust-lang#107207) `@rustbot` label +T-libs-api -T-libs r? `@thomcc` Closes rust-lang#107207.
Rollup merge of rust-lang#119466 - Sky9x:str_from_raw_parts, r=dtolnay Initial implementation of `str::from_raw_parts[_mut]` ACP (accepted): rust-lang/libs-team#167 Tracking issue: rust-lang#119206 Thanks to ``@Kixiron`` for previous work on this (rust-lang#107207) ``@rustbot`` label +T-libs-api -T-libs r? ``@thomcc`` Closes rust-lang#107207.
Implements
str::from_raw_parts()
andstr::from_raw_parts_mut()
which are effectively shorthand for@rustbot label: +T-libs +T-core
ACP: rust-lang/libs-team#167.