rust/src/librustc_lint
Alex Crichton 753efb5042 rollup merge of #23601: nikomatsakis/by-value-index
This is a [breaking-change]. When indexing a generic map (hashmap, etc) using the `[]` operator, it is now necessary to borrow explicitly, so change `map[key]` to `map[&key]` (consistent with the `get` routine). However, indexing of string-valued maps with constant strings can now be written `map["abc"]`.

r? @japaric
cc @aturon @Gankro
2015-03-23 15:10:50 -07:00
..
builtin.rs rollup merge of #23601: nikomatsakis/by-value-index 2015-03-23 15:10:50 -07:00
lib.rs std: Tweak some unstable features of str 2015-03-17 18:03:03 -07:00