diff options
| author | 0x0G <0x0G@users.noreply.github.com> | 2016-04-04 13:49:16 +0300 |
|---|---|---|
| committer | Marcus Klaas de Vries <mail@marcusklaas.nl> | 2016-04-04 12:49:16 +0200 |
| commit | 6e393b3d53aba6f3d18b76fd820c148f9e4b62e7 (patch) | |
| tree | 5142f62c7efdc5ffb0af2bcebf06fadaf30d22a1 /src/bin | |
| parent | d9ccec6f82fb4d58e41b78de6be530de72e4db00 (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.rs | 8 |
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; } |
