rust-lang / rust-lang/rust

Tracking Issue for `align_to_uninit_mut`

Open
#139,062 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

C-tracking-issue T-libs
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

Feature gate: #![feature(align_to_uninit_mut)]

This is a tracking issue for safe variant of slice::align_to_mut for MaybeUninit values.

Public API
// core::slice

impl<T> [MaybeUninit<T>] {
    pub fn align_to_uninit_mut<U>(&mut self) -> (&mut Self, &mut [MaybeUninit<U>], &mut Self);
}
Steps / History
Unresolved Questions
  • None yet.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the proposed core::slice public API and the implementation PR #139072, then read the stabilization process linked in the issue. The remaining work is to complete the final comment period and stabilization PR; the feature is done when those steps are completed.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.