Tracking Issue for [T; N]::resize(_with)
(feature array_resize
)
#91615
Labels
C-tracking-issue
Category: An issue tracking the progress of sth. like the implementation of an RFC
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
Feature gate:
#![feature(array_resize)]
This is a tracking issue for the
resize
andresize_with
methods on arrays.Like
Vec::resize(_with)
, these extend for a larger size or truncate for a shorter one. UnlikeVec
, these return a new array (because obviously one can't change the size of a fixed-size array in-place).Public API
Steps / History
resize(_with)
and(try_)repeat(_with)
for arrays #91506Unresolved Questions
The text was updated successfully, but these errors were encountered: