1
Fork 0

Change struct expr pretty printing to match rustfmt style

This commit is contained in:
David Tolnay 2022-01-21 13:36:08 -08:00
parent 63406ac771
commit 40fcbbafa0
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
3 changed files with 84 additions and 32 deletions

View file

@ -1,3 +1,4 @@
mod delimited;
mod expr;
mod item;
@ -23,6 +24,8 @@ use rustc_span::{BytePos, FileName, Span};
use std::borrow::Cow;
pub use self::delimited::IterDelimited;
pub enum MacHeader<'a> {
Path(&'a ast::Path),
Keyword(&'static str),