about summary refs log tree commit diff
path: root/src/bin
diff options
context:
space:
mode:
author0x0G <0x0G@users.noreply.github.com>2016-04-04 13:49:16 +0300
committerMarcus Klaas de Vries <mail@marcusklaas.nl>2016-04-04 12:49:16 +0200
commit6e393b3d53aba6f3d18b76fd820c148f9e4b62e7 (patch)
tree5142f62c7efdc5ffb0af2bcebf06fadaf30d22a1 /src/bin
parentd9ccec6f82fb4d58e41b78de6be530de72e4db00 (diff)
Fix. rustfmt write to stderr instead stdout
Fix. rustfmt write to stderr instead stdout
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/rustfmt.rs8
1 files 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;
                 }