Skip to content

VecDeque should support splice / extend_front #69939

@Boscop

Description

@Boscop

VecDeque should support splice for convenience.
(SliceDeque supports it, but it doesn't build on wasm and seems kind of abandoned (several unmerged PRs with no updates).)

VecDeque should also support extend_front (like repeated push_front from an iterator. Compared to calling q.splice(..0, iter), the elements added with q.extend_front(iter) would be in reverse order).

Metadata

Metadata

Assignees

Labels

A-collectionsArea: `std::collections`C-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions