Skip to content

[feature] Have a swapIndices(from,to) method #59

Description

@dxps

Dear all,

I am rewriting a medium sized Rust project in Go and in that initial implementation I used an orderedmap implementation (this crate) that has a .swap_indices(fromIdx, toIdx) method which is very handy when the need is to just swapping two elements within.

I believe that is very nice to have this included in this implementation.

Thanks for considering it!

PS I'll see if I find the time to implement it.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions