]> git.lizzy.rs Git - rust.git/commit
rustc_query_system: simplify QueryCache::iter
authorTyson Nottingham <tgnottingham@gmail.com>
Thu, 11 Mar 2021 19:22:47 +0000 (11:22 -0800)
committerTyson Nottingham <tgnottingham@gmail.com>
Sat, 13 Mar 2021 01:34:14 +0000 (17:34 -0800)
commitadcbe49b16dff960600b5d54171d38d6b556d228
treeddd96dd1d30114ec5f09de7e8ab88c8c12a3597a
parent45b3c28518e4c45dfd12bc2c4400c0d0e9639927
rustc_query_system: simplify QueryCache::iter

Minor cleanup to reduce a small amount of complexity and code bloat.
Reduces the number of mono items in rustc_query_impl by 15%.
compiler/rustc_query_system/src/query/caches.rs
compiler/rustc_query_system/src/query/plumbing.rs