X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/0a1c85f8655a71b995d228ed0c9496f732268c5b..27eca551823bac40421ae7ee6e83e7541790b723:/CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 214ba6b..1be2128 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,8 +24,14 @@ - Implemented `Default` on `Map` (not just on `RawMap`). -- The implementation of `Into>` for `Map` has been - replaced with the more general `From>` for `RawMap`. +- Removed the `anymap::raw` wrapper layer around `std::collections::hash_map`, + in favour of exposing the raw `HashMap` directly. I think there was a reason + I did it that seven years ago, but I think that reason may have dissolved by + now, and I can’t think of it and I don’t like the particular safe + `as_mut`/unsafe insert approach that I used. Because of the hashbrown stuff, + I have retained `anymap::RawMap` is an alias, and `anymap::raw_hash_map` too. + The end result of this is that raw access can finally access things that have + stabilised since Rust 1.7.0, and we’ll no longer need to play catch-up. - Worked around the spurious `where_clauses_object_safety` future-compatibility lint that has been raised since mid-2018. If you put `#![allow(where_clauses_object_safety)]` on your binary crates for this reason, you can remove it.