rust/compiler/rustc_hir/src
Dylan DPC 9dbc9ed870
Rollup merge of #77514 - scottmcm:less-once-chain-once, r=estebank
Replace some once(x).chain(once(y)) with [x, y] IntoIter

Now that we have by-value array iterators that are [already used](25c8c53dd9/compiler/rustc_hir/src/def.rs (L305-L307))...

For example,
```diff
-        once(self.type_ns).chain(once(self.value_ns)).chain(once(self.macro_ns)).filter_map(|it| it)
+        IntoIter::new([self.type_ns, self.value_ns, self.macro_ns]).filter_map(|it| it)
```
2020-10-05 02:29:42 +02:00
..
arena.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
def.rs Replace some once(x).chain(once(y)) with [x, y] IntoIter 2020-10-03 16:51:43 -07:00
definitions.rs Move is_raw_guess check in ty::print::pretty 2020-09-25 22:48:44 +01:00
hir_id.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
hir.rs Fix intra-doc links for primitives 2020-09-23 21:04:22 -04:00
intravisit.rs Remove unused #[allow(...)] statements from compiler/ 2020-09-26 01:25:55 +02:00
itemlikevisit.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
lang_items.rs hir: replace lazy_static by SyncLazy from std 2020-09-01 22:06:47 +01:00
lib.rs [WIP] give better errors for broken intra doc links 2020-09-05 13:48:19 -04:00
pat_util.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
stable_hash_impls.rs mv compiler to compiler/ 2020-08-30 18:45:07 +03:00
target.rs Prevent #[doc(alias = "...")] at crate level 2020-10-03 21:33:47 +02:00
weak_lang_items.rs hir: replace lazy_static by SyncLazy from std 2020-09-01 22:06:47 +01:00