This repository was archived by the owner on May 3, 2026. It is now read-only.
10.2.0
[10.2.0] - 2018-04-15
Added
- Map/set methods which accept references to keys will now also take
any value that's borrowable to the key's type, ie. it will take a
reference to a typeBorrowablewhere the key implements
Borrow<Borrowable>. This is particularly handy for types such as
Stringbecause you can now pass&strto key lookups instead of
&String. So, instead of the incredibly cumbersome
map.get(&"foo".to_string())you can just domap.get("foo")when
looking up a mapping for a string literal.