Skip to content

Tracking issue for VecDeque Extras #27788

@Gankra

Description

@Gankra

This covers the deque_extras blanket feature, which should probably be sharded more in the future. It covers:

  • truncate
  • resize
  • as_slices
  • as_mut_slices
  • swap_back_remove
  • swap_front_remove

Some notes:

  • truncate and resize are strange because they aren't directional (they just truncate off the back). Need work.
  • as_slices and as_mut_slices seem good to go. A bit niche, but so is VecDeque. Maybe move the mut to the end. RFC'd and everything.
  • swap_back_remove and swap_front_remove also seem good to go. Maybe move the directional specifier to the end. RFC'd and everything.

Metadata

Metadata

Assignees

No one assigned

    Labels

    B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions