Skip to content

Vec should retain in-place methods #13249

@lifthrasiir

Description

@lifthrasiir

There are at least two missing methods from OwnedVector<T> not in Vec<T>:

  • Vec::retain
  • Vec::grow_fn

Unlike ImmutableVector methods (bsearch for example) and MutableVector methods (swap for example), they have to be directly implemented to Vec<T>.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions