Repository navigation
Tracking Issue for String::into_chars #133125
Copy link
Copy link
Open
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Description
Activity
- addedC-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
on Nov 17, 2024 - added a commit that references this issue
on Jan 8, 2025 Why does IntoChars have an into_string method, when it has to do memmove.
Vec::IntoIter also does not have into_vec.Why does IntoChars have an into_string method, when it has to do memmove. Vec::IntoIter also does not have into_vec.
See #133057 (comment).
For
vec::IntoIter, you can already do.collectwhich also possibly avoid some alloc. Seeimpl<T> SpecFromIter<T, IntoIter<T>> for Vec<T>.What's stopping the feature from starting the FPC? There are no unresolved questions, and the implementation has been in nightly for more than a year now, everything seems ready.
Reacted by Ciren, arse09, Vilim Lendvaj, John Dong, Viktor Zahorodnii, Ayabin and 0x20cd- addedT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.and removedT-libs-api[DEPRECATED; DO NOT USE][DEPRECATED; DO NOT USE]
on Aug 12, 2026
Metadata
Metadata
Assignees
Labels
C-tracking-issueCategory: An issue tracking the progress of sth. like the implementation of an RFCCategory: An issue tracking the progress of sth. like the implementation of an RFCT-libsRelevant to the library team, which will review and decide on the PR/issue.Relevant to the library team, which will review and decide on the PR/issue.
Feature gate:
#![feature(string_into_chars)]This is a tracking issue for:
String::into_charsPublic API
Steps / History
into_charsforStringlibs-team#268Unresolved Questions
Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩