Added move_index and swap_indices methods to IndexedEntry,
OccupiedEntry, and RawOccupiedEntryMut, functioning like the existing
methods on IndexMap.
Added shift_insert methods on VacantEntry and RawVacantEntryMut, as
well as shift_insert_hashed_nocheck on the latter, to insert the new entry
at a particular index.
Added shift_insert methods on IndexMap and IndexSet to insert a new
entry at a particular index, or else move an existing entry there.
Commits
406bbdb Merge pull request #312 from cuviper/release-2.2.3
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps indexmap from 2.2.2 to 2.2.3.
Changelog
Sourced from indexmap's changelog.
Commits
406bbdb
Merge pull request #312 from cuviper/release-2.2.33b79b87
Release 2.2.38e6753c
Merge pull request #310 from cuviper/shift_inserte3ff25b
Merge pull request #311 from cuviper/test_debug2a33977
Fully mask the"test_debug"
code from normal builds8c206ef
Test shift_insert that moves5debe73
IndexSet::swap_indices is O(1) too4572493
AddIndexSet::shift_insert
based on map's method3b217ca
AddIndexMap::shift_insert
based onEntry
209e3e1
Document equivalence of move_index/swap_indicesDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show