-
-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Tracking Issue for VecDeque::truncate_to_range #156215
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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
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 RFCS-tracking-unimplementedStatus: The feature has not been implemented.Status: The feature has not been implemented.T-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(vec_deque_truncate_to_range)]This is a tracking issue for adding
truncate_to_rangetoVecDeque.This function can truncate both ends of a
VecDeque, keeping only the specified range in the middle. This operation is O(1) if there is noDropcode.Public API
Steps / History
(Remember to update the
S-tracking-*label when checking boxes.)VecDeque::truncate_to_rangelibs-team#785VecDeque::truncate_to_range#156220Unresolved Questions
truncate_to_range, orretain_range?Footnotes
https://std-dev-guide.rust-lang.org/feature-lifecycle/stabilization.html ↩