-
Notifications
You must be signed in to change notification settings - Fork 13.9k
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.
Description
Tracking issue for rust-lang/rfcs#235, there are a number of sub-issues associated with this:
Backwards incompatible changes to make:
- Remove collections traits - @alexcrichton collections: Remove all collections traits #18474
- Add a
Borrowtrait - @aturon libs: Add borrow module, deprecate _equiv and friends #18910 - Add methods using the
Borrowtrait, deprecating_equivmethods - @aturon libs: Add borrow module, deprecate _equiv and friends #18910 - Ensure construction methods follow conventions -
- Ensure
FromIteratoris implemented - @gamazeps - Ensure insertion methods follow conventions -
- Rename
ExtendabletoExtend- @gamazeps Ensure Extend is implemented and renamed Extendable to Extend #18475 - Ensure
Extendis implemented - @gamazeps Ensure Extend is implemented and renamed Extendable to Extend #18475 - Ensure deletion methods follow conventions -
- Ensure inspection/mutation methods follow conventions -
- Implement
IndexandIndexMutwhere appropriate - @alexcrichton - collections: Enable IndexMut for some collections #18445 - Ensure iteration methods follow conventions -
- Ensure capacity-related methods follow conventions -
- Implement bounded iterators for
TreeMap - Ensure set operations follow conventions -
- Ensure map operations follow conventions -
- Implement
Dereffor strings and vectors - @alexcrichton - collections: impl Deref for Vec/String #18443 - Ensure string api related methods are follow utf8/byte conventions -
- Add
repeattostd::iterand the prelude - @jakub- Add arepeatfunction to the prelude #18468
Backwards compatible changes that will require additional language features:
- Add
ByNeedandPredicatetraits (needs negative bounds to work with unboxed closures)
Backwards compatible changes to make:
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.