Format with rustfmt 0.99.1
diff --git a/build.rs b/build.rs
index d37ce99..275ac07 100644
--- a/build.rs
+++ b/build.rs
@@ -11,13 +11,13 @@
fn maybe_enable_use_proc_macro(target: &str) {
// wasm targets don't have the `proc_macro` crate, disable this feature.
if target.contains("wasm32") {
- return
+ return;
}
// There are currently no musl builds of the compiler, so proc_macro is
// always missing, so disable this feature.
if target.contains("-musl") {
- return
+ return;
}
// Otherwise, only enable it if our feature is actually enabled.
diff --git a/src/lib.rs b/src/lib.rs
index b17615b..f319f45 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -44,7 +44,10 @@
// Proc-macro2 types in rustdoc of other crates get linked to here.
#![doc(html_root_url = "https://docs.rs/proc-macro2/0.4.11")]
-#![cfg_attr(feature = "nightly", feature(proc_macro_raw_ident, proc_macro_span))]
+#![cfg_attr(
+ feature = "nightly",
+ feature(proc_macro_raw_ident, proc_macro_span)
+)]
#[cfg(use_proc_macro)]
extern crate proc_macro;
diff --git a/src/unstable.rs b/src/unstable.rs
index ca13edf..e024205 100644
--- a/src/unstable.rs
+++ b/src/unstable.rs
@@ -171,8 +171,7 @@
TokenStream::Nightly(tts) => tts.into_iter(),
_ => panic!(),
}),
- )
- .collect();
+ ).collect();
}
TokenStream::Stable(tts) => tts.extend(streams),
}