From 6e393b3d53aba6f3d18b76fd820c148f9e4b62e7 Mon Sep 17 00:00:00 2001 From: 0x0G <0x0G@users.noreply.github.com> Date: Mon, 4 Apr 2016 13:49:16 +0300 Subject: [PATCH] Fix. rustfmt write to stderr instead stdout Fix. rustfmt write to stderr instead stdout --- src/bin/rustfmt.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/bin/rustfmt.rs b/src/bin/rustfmt.rs index 062c60e1065..666185f837e 100644 --- a/src/bin/rustfmt.rs +++ b/src/bin/rustfmt.rs @@ -212,7 +212,7 @@ fn execute() -> i32 { path = path_tmp; }; if let Some(path) = path.as_ref() { - msg!("Using rustfmt config file {}", path.display()); + println!("Using rustfmt config file {}", path.display()); } for file in files { // Check the file directory if the config-path could not be read or not provided @@ -222,9 +222,9 @@ fn execute() -> i32 { for {}", file.display())); if let Some(path) = path_tmp.as_ref() { - msg!("Using rustfmt config file {} for {}", - path.display(), - file.display()); + println!("Using rustfmt config file {} for {}", + path.display(), + file.display()); } config = config_tmp; } -- 2.44.0