Skip to content

Bounds on remove_index #1442

Description

@akern40

While working on some code, I ran across remove_index and noticed that it has a bound of S: DataOwned, but I'm not sure why?

pub fn remove_index(&mut self, axis: Axis, index: usize)
where S: DataOwned + DataMut

As this method documents, it does not actually change the allocation of the underlying array, and none of its internal methods require DataOwned. Can this bound be removed? Or am I missing something?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions