From 6b54fded902f9d0d10a8a15ff3addf09eccd9380 Mon Sep 17 00:00:00 2001 From: Josh Stone Date: Thu, 4 Mar 2021 17:30:59 -0800 Subject: [PATCH] Release 1.6.2 --- Cargo.toml | 2 +- README.rst | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index b9bf5498..d79a52e4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "indexmap" edition = "2018" -version = "1.6.1" +version = "1.6.2" authors = [ "bluss", "Josh Stone " diff --git a/README.rst b/README.rst index 49a71073..1cf5368b 100644 --- a/README.rst +++ b/README.rst @@ -66,6 +66,17 @@ which is roughly: Recent Changes ============== +- 1.6.2 + + - Fixed to match ``std`` behavior, ``OccupiedEntry::key`` now references the + existing key in the map instead of the lookup key, by @cuviper in PR 170_. + + - The new ``Entry::or_insert_with_key`` matches Rust 1.50's ``Entry`` method, + passing ``&K`` to the callback to create a value, by @cuviper in PR 175_. + +.. _170: https://github.com/bluss/indexmap/pull/170 +.. _175: https://github.com/bluss/indexmap/pull/175 + - 1.6.1 - The new ``serde_seq`` module implements ``IndexMap`` serialization as a