Skip to content

Tracking Issue for array_try_from_slice #133440

@bjoernager

Description

@bjoernager

Feature gate: #![feature(array_try_from_slice)]

This is a tracking issue for adding the try_from_slice constructor to core::array.

Public API

// core::array

pub const fn try_from_slice<T, const N: usize>(slice: &[T]) -> Result<[T; N], TryFromSliceError>
where
    T: Copy;

Steps / History

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.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions