Skip to content

Tracking Issue for option_array_transpose #130828

Open
@Urgau

Description

@Urgau

Feature gate: #![feature(option_array_transpose)]

This is a tracking issue for the option_array_transpose.

This feature permits going from an [Option<T>; N] to Option<[T; N]>.

Public API

// core::option

impl<T, const N: usize> [Option<T>; N] {
    fn transpose(self) -> Option<[T; N]>;
}

Steps / History

Unresolved Questions

Footnotes

  1. https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions