Skip to content

Commit 6e393b3

Browse files
0x0Gmarcusklaas
authored andcommitted
Fix. rustfmt write to stderr instead stdout
Fix. rustfmt write to stderr instead stdout
1 parent d9ccec6 commit 6e393b3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/rustfmt.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ fn execute() -> i32 {
212212
path = path_tmp;
213213
};
214214
if let Some(path) = path.as_ref() {
215-
msg!("Using rustfmt config file {}", path.display());
215+
println!("Using rustfmt config file {}", path.display());
216216
}
217217
for file in files {
218218
// Check the file directory if the config-path could not be read or not provided
@@ -222,9 +222,9 @@ fn execute() -> i32 {
222222
for {}",
223223
file.display()));
224224
if let Some(path) = path_tmp.as_ref() {
225-
msg!("Using rustfmt config file {} for {}",
226-
path.display(),
227-
file.display());
225+
println!("Using rustfmt config file {} for {}",
226+
path.display(),
227+
file.display());
228228
}
229229
config = config_tmp;
230230
}

0 commit comments

Comments
 (0)