about summary refs log tree commit diff
path: root/src/libsyntax_ext/format_foreign/shell
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-12-23 02:47:52 +0000
committerbors <bors@rust-lang.org>2019-12-23 02:47:52 +0000
commita916ac22b9f7f1f0f7aba0a41a789b3ecd765018 (patch)
tree139cba4184f0f290fdbdff1aa0aa68352b16ccbb /src/libsyntax_ext/format_foreign/shell
parent9b98af84c4aa66392236fff59c86da2130d46d46 (diff)
parent0f24ccd21d9f734a21daaf3566900127167556d1 (diff)
Auto merge of #67540 - Mark-Simulacrum:fmt-the-world, r=Centril
Format the world

This PR modifies the formatting infrastructure a bit in the first commit (to enable the forgotten 2018 edition), as well as removes most directories from the ignore list in rustfmt.toml. It then follows that up with the second commit which runs `x.py fmt` and formats the entire repository.

We continue to not format the test directory (`src/test`) because of interactions with pretty printing and, in part, because re-blessing all of those files is somewhat harder to review, so is best suited for a follow up PR in my opinion.
Diffstat (limited to 'src/libsyntax_ext/format_foreign/shell')
-rw-r--r--src/libsyntax_ext/format_foreign/shell/tests.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/libsyntax_ext/format_foreign/shell/tests.rs b/src/libsyntax_ext/format_foreign/shell/tests.rs
index 8ef58b8387e..ed8fe81dfcd 100644
--- a/src/libsyntax_ext/format_foreign/shell/tests.rs
+++ b/src/libsyntax_ext/format_foreign/shell/tests.rs
@@ -1,7 +1,4 @@
-use super::{
-    Substitution as S,
-    parse_next_substitution as pns,
-};
+use super::{parse_next_substitution as pns, Substitution as S};
 
 macro_rules! assert_eq_pnsat {
     ($lhs:expr, $rhs:expr) => {