mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 04:55:22 +03:00
cargo-fmt: Add --edition when printing the command
By mistake, it was forgotten to print out the edition in use when printing the rustcmd command. Fix it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This commit is contained in:
@@ -341,6 +341,7 @@ fn run_rustfmt(
|
||||
|
||||
if verbosity == Verbosity::Verbose {
|
||||
print!("rustfmt");
|
||||
print!(" --edition {}", edition);
|
||||
fmt_args.iter().for_each(|f| print!(" {}", f));
|
||||
files.iter().for_each(|f| print!(" {}", f.display()));
|
||||
println!();
|
||||
|
||||
Reference in New Issue
Block a user