Skip to content

Commit 6b54fde

Browse files
committed
Release 1.6.2
1 parent 0dc0c7b commit 6b54fde

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "indexmap"
33
edition = "2018"
4-
version = "1.6.1"
4+
version = "1.6.2"
55
authors = [
66
"bluss",
77
"Josh Stone <[email protected]>"

README.rst

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,17 @@ which is roughly:
6666
Recent Changes
6767
==============
6868

69+
- 1.6.2
70+
71+
- Fixed to match ``std`` behavior, ``OccupiedEntry::key`` now references the
72+
existing key in the map instead of the lookup key, by @cuviper in PR 170_.
73+
74+
- The new ``Entry::or_insert_with_key`` matches Rust 1.50's ``Entry`` method,
75+
passing ``&K`` to the callback to create a value, by @cuviper in PR 175_.
76+
77+
.. _170: https://github.com/bluss/indexmap/pull/170
78+
.. _175: https://github.com/bluss/indexmap/pull/175
79+
6980
- 1.6.1
7081

7182
- The new ``serde_seq`` module implements ``IndexMap`` serialization as a

0 commit comments

Comments
 (0)