-
-
Notifications
You must be signed in to change notification settings - Fork 14.9k
Implement collections reform #18424
Copy link
Copy link
Closed
Labels
A-collectionsArea: `std::collections`Area: `std::collections`B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.
Metadata
Metadata
Assignees
Labels
A-collectionsArea: `std::collections`Area: `std::collections`B-RFC-approvedBlocker: Approved by a merged RFC but not yet implemented.Blocker: Approved by a merged RFC but not yet implemented.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Tracking issue for rust-lang/rfcs#235, there are a number of sub-issues associated with this:
Backwards incompatible changes to make:
Borrowtrait - @aturon libs: Add borrow module, deprecate _equiv and friends #18910Borrowtrait, deprecating_equivmethods - @aturon libs: Add borrow module, deprecate _equiv and friends #18910FromIteratoris implemented - @gamazepsExtendabletoExtend- @gamazeps Ensure Extend is implemented and renamed Extendable to Extend #18475Extendis implemented - @gamazeps Ensure Extend is implemented and renamed Extendable to Extend #18475IndexandIndexMutwhere appropriate - @alexcrichton - collections: Enable IndexMut for some collections #18445TreeMapDereffor strings and vectors - @alexcrichton - collections: impl Deref for Vec/String #18443repeattostd::iterand the prelude - @jakub- Add arepeatfunction to the prelude #18468Backwards compatible changes that will require additional language features:
ByNeedandPredicatetraits (needs negative bounds to work with unboxed closures)Backwards compatible changes to make:
Cowpointers - @aturon libs: Add borrow module, deprecate _equiv and friends #18910IntoIterator- @aturonfor-loops to useIntoIterator- @jakub-FromIterator- @aturon