Skip to content

Commit

Permalink
Fix. rustfmt write to stderr instead stdout
Browse files Browse the repository at this point in the history
Fix. rustfmt write to stderr instead stdout
  • Loading branch information
0x0G authored and marcusklaas committed Apr 4, 2016
1 parent d9ccec6 commit 6e393b3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/bin/rustfmt.rs
Expand Up @@ -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
Expand All @@ -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;
}
Expand Down

0 comments on commit 6e393b3

Please sign in to comment.