rust/compiler/rustc_ast_pretty/src/pprust
Nicholas Nethercote 5a05b614bf Tweak print_attr_item.
This commit rearranges the `match`. The new code avoids testing for
`MacArgs::Eq` twice, at the cost of repeating the `self.print_path()`
call. I think this is worthwhile because it puts the `match` in a more
standard and readable form.
2022-04-29 15:00:32 +10:00
..
state Parse inner attributes on inline const block 2022-03-15 17:56:59 -07:00
mod.rs Remove &self from PrintState::to_string 2021-12-27 16:20:50 -08:00
state.rs Tweak print_attr_item. 2022-04-29 15:00:32 +10:00
tests.rs Rework SESSION_GLOBALS API to prevent overwriting it 2021-07-08 16:16:28 +02:00