Format with rustfmt 0.99.4-nightly
diff --git a/src/token.rs b/src/token.rs
index b206548..0fecdd2 100644
--- a/src/token.rs
+++ b/src/token.rs
@@ -100,12 +100,12 @@
#[cfg(feature = "parsing")]
use proc_macro2::Delimiter;
-#[cfg(feature = "printing")]
-use proc_macro2::TokenStream;
#[cfg(any(feature = "parsing", feature = "printing"))]
use proc_macro2::Ident;
use proc_macro2::Span;
#[cfg(feature = "printing")]
+use proc_macro2::TokenStream;
+#[cfg(feature = "printing")]
use quote::{ToTokens, TokenStreamExt};
#[cfg(feature = "parsing")]
diff --git a/tests/test_meta_item.rs b/tests/test_meta_item.rs
index 8a0fed0..8c33d3f 100644
--- a/tests/test_meta_item.rs
+++ b/tests/test_meta_item.rs
@@ -106,7 +106,7 @@
eq_token: Default::default(),
lit: lit(Literal::i32_unsuffixed(5)),
}.into(),
- ),],
+ )],
},
)
}
@@ -127,7 +127,7 @@
span: Span::call_site()
}),
}.into(),
- ),],
+ )],
},
)
}
@@ -158,7 +158,7 @@
eq_token: Default::default(),
lit: lit(Literal::i32_unsuffixed(6)),
}.into(),
- ),],
+ )],
}.into(),
),
NestedMeta::Meta(Meta::Word(ident("word2").into())),
@@ -174,12 +174,10 @@
MetaList {
ident: ident("foo").into(),
paren_token: Default::default(),
- nested: punctuated![
- NestedMeta::Literal(Lit::Bool(LitBool {
- value: true,
- span: Span::call_site(),
- })),
- ],
+ nested: punctuated![NestedMeta::Literal(Lit::Bool(LitBool {
+ value: true,
+ span: Span::call_site(),
+ }))],
},
)
}