Skip to content

Commit 3848768

Browse files
committed
Add a release note for move_index
1 parent d110067 commit 3848768

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

RELEASES.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@
1919
- The new `IndexMap::shrink_to` and `IndexSet::shrink_to` methods shrink
2020
the capacity with a lower bound.
2121

22+
- The new `IndexMap::move_index` and `IndexSet::move_index` methods change
23+
the position of an item from one index to another, shifting the items
24+
between to accommodate the move.
25+
2226
- The new `map::Slice<K, V>` and `set::Slice<T>` offer a linear view of maps
2327
and sets, behaving a lot like normal `[(K, V)]` and `[T]` slices. Notably,
2428
comparison traits like `Eq` only consider items in order, rather than hash

0 commit comments

Comments
 (0)