]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Rollup merge of #89162 - petrochenkov:ivmap, r=davidtwco
authorthe8472 <the8472@users.noreply.github.com>
Wed, 22 Sep 2021 17:03:25 +0000 (19:03 +0200)
committerGitHub <noreply@github.com>
Wed, 22 Sep 2021 17:03:25 +0000 (19:03 +0200)
commit91af0003e8ba8c010f90c171d0e0e291c27e07aa
tree4af348b75a2d821e8310b7250dba69dcad16d408
parent3bdc894486293af5c741d2f48cfee7d36c57838a
parentfbe5e5c0ee521dd812852c76b16564b49e446c4e
Rollup merge of #89162 - petrochenkov:ivmap, r=davidtwco

rustc_index: Add some map-like APIs to `IndexVec`

`IndexVec` is often used as a map, but its map APIs are lacking.
This PR adds a couple of useful methods.