From 9a5a3a842cb6efa150967762f9ca70d9190e75c7 Mon Sep 17 00:00:00 2001 From: Jake Goulding Date: Tue, 20 Mar 2018 19:27:50 -0400 Subject: [PATCH] Restore Rustfmt support Works around https://github.com/rust-lang-nursery/rustfmt/issues/2543 --- ui/src/sandbox.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/sandbox.rs b/ui/src/sandbox.rs index 8a3a0697b..6f247c569 100644 --- a/ui/src/sandbox.rs +++ b/ui/src/sandbox.rs @@ -286,7 +286,7 @@ impl Sandbox { let mut cmd = self.docker_command(Some(crate_type)); - cmd.arg("rustfmt").args(&["cargo", "fmt", "--", "--write-mode", "overwrite"]); + cmd.arg("rustfmt").args(&["cargo", "fmt"]); debug!("Formatting command is {:?}", cmd);