You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
[-][feature] Have a `swapIndices(from, to, uint)` method[/-][+][feature] Have a `swapIndices(from, to)` method[/+][-][feature] Have a `swapIndices(from, to)` method[/-][+][feature] Have a `swapIndices(from,to)` method[/+]elliotchance commentedon Apr 14, 2025
Sure, put in a PR ;)