From a6d45069ac01dc46e2c4267673cb77c51251fd3f Mon Sep 17 00:00:00 2001 From: roblabla Date: Fri, 10 Nov 2017 16:27:09 +0100 Subject: Remove unnecessary flag from rustfmt invocation From rustfmt docs, the --write-mode flag is unecessary when passing the flag to stdin. If we leave it there, rustfmt-nightly complains that it cannot find the file named --write-mode, so let's remove the flag. --- src/lib.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 35360d33..aec901d4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1721,7 +1721,6 @@ impl Bindings { }; cmd - .args(&["--write-mode=display"]) .stdin(Stdio::piped()) .stdout(Stdio::piped()); -- cgit v1.2.3