Skip to content

Tracking Issue for NonNull<[T]>::slice_from_raw_parts #71941

Closed

Description

@SimonSapin

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 a const fn.

API

impl<T> NonNull<[T]> {
  pub const fn slice_from_raw_parts(data: NonNull<T>, len: usize) -> Self;
}

Docs: https://doc.rust-lang.org/stable/std/ptr/struct.NonNull.html#method.slice_from_raw_parts

Steps

Activity

  1. added
    T-libs-api[DEPRECATED; DO NOT USE]
    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFC
    on May 6, 2020
  2. added
    B-unstableBlocker: Implemented in the nightly compiler and unstable.
    on May 6, 2020
  3. added
    Libs-SmallLibs issues that are considered "small" or self-contained
    I-libs-radarLibs issues that are tracked on the team's radar.
    A-raw-pointersArea: raw pointers, MaybeUninit, NonNull
    on Jul 29, 2020
  4. m-ou-se commented on Mar 12, 2022

    @m-ou-se
    Member

    @rfcbot merge

  5. rfcbot commented on Mar 12, 2022

    @rfcbot

    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.

  6. added
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.
    on Mar 12, 2022
  7. bstrie commented on Apr 7, 2022

    @bstrie
    Contributor

    I'm willing to file the stabilization report for this if the library team is on board for stabilization.

  8. yaahc commented on Apr 7, 2022

    @yaahc
    Member

    I'm willing to file the stabilization report for this if the library team is on board for stabilization.

    I'd certainly appreciate one!

  9. added
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    on Apr 7, 2022
  10. rfcbot commented on Apr 7, 2022

    @rfcbot

    🔔 This is now entering its final comment period, as per the review above. 🔔

  11. removed
    proposed-final-comment-periodProposed to merge/close by relevant subteam, see T-<team> label. Will enter FCP once signed off.
    on Apr 7, 2022
  12. added and removed
    final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
    on Apr 17, 2022
  13. rfcbot commented on Apr 17, 2022

    @rfcbot

    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.

  14. added a commit that references this issue on Mar 27, 2023
  15. added a commit that references this issue on Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-raw-pointersArea: raw pointers, MaybeUninit, NonNullA-sliceArea: `[T]`B-unstableBlocker: Implemented in the nightly compiler and unstable.C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCI-libs-radarLibs issues that are tracked on the team's radar.Libs-SmallLibs issues that are considered "small" or self-containedT-libs-api[DEPRECATED; DO NOT USE]disposition-mergeThis issue / PR is in PFCP or FCP with a disposition to merge it.finished-final-comment-periodThe final comment period is finished for this PR / Issue.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions