Skip to content

Commit fbe06c6

Browse files
committed
Random formatting
1 parent 33ab1f4 commit fbe06c6

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/bin/cargo-fmt.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -359,6 +359,7 @@ fn format_files(
359359
} else {
360360
std::process::Stdio::inherit()
361361
};
362+
362363
if verbosity == Verbosity::Verbose {
363364
print!("rustfmt");
364365
for a in fmt_args {
@@ -369,6 +370,7 @@ fn format_files(
369370
}
370371
println!();
371372
}
373+
372374
let mut command = Command::new("rustfmt")
373375
.stdout(stdout)
374376
.args(files)
@@ -381,6 +383,7 @@ fn format_files(
381383
),
382384
_ => e,
383385
})?;
386+
384387
command.wait()
385388
}
386389

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,7 @@ macro_rules! create_config {
364364
self.$i.2 = val;
365365
} else {
366366
println!("Warning: can't set some features as unstable \
367-
features are only available in nightly channel.");
367+
features are only available in nightly channel.");
368368
}
369369
}
370370
}

0 commit comments

Comments
 (0)