-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
Tracking Issue for NonNull<[T]>::slice_from_raw_parts
#71941
Comments
@rfcbot merge |
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
I'm willing to file the stabilization report for this if the library team is on board for stabilization. |
I'd certainly appreciate one! |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. This will be merged soon. |
…rom-raw-parts, r=m-ou-se,the8472 Stabilize `nonnull_slice_from_raw_parts` FCP is done: rust-lang#71941 (comment) Note that this doesn't const-stabilize `NonNull::slice_from_raw_parts` as `slice_from_raw_parts_mut` isn't const-stabilized yet. Given rust-lang#67456 and rust-lang#57349, it's not likely available soon, meanwhile, stabilizing only the feature makes some sense, I think. Closes rust-lang#71941
…arts, r=m-ou-se,the8472 Stabilize `nonnull_slice_from_raw_parts` FCP is done: rust-lang/rust#71941 (comment) Note that this doesn't const-stabilize `NonNull::slice_from_raw_parts` as `slice_from_raw_parts_mut` isn't const-stabilized yet. Given #67456 and #57349, it's not likely available soon, meanwhile, stabilizing only the feature makes some sense, I think. Closes #71941
This is a tracking issue for the
NonNull<[T]>::slice_from_raw_parts
method proposed in PR #71940.The feature gates for the issue are
#![feature(nonnull_slice_from_raw_parts)]
, and#![feature(const_nonnull_slice_from_raw_parts)]
for using as aconst fn
.API
Docs: https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.slice_from_raw_parts
Steps
len
andslice_from_raw_parts
toNonNull<[T]>
#71940NonNull<[T]>::slice_from_raw_parts
#71941 (comment)The text was updated successfully, but these errors were encountered: