Commit 74d849a
committed
run cargo fmt
kushal@kusfedora2024:~/src/rustlang/tsp_rust$ cargo fmt --all -- --check
Diff in /home/kushal/src/rustlang/tsp_rust/src/main.rs:538:
let should_run_all = run_all || num_cities < 15;
if num_cities >= 15 && !run_all {
- println!("Note: For {} cities, only running optimized solution.", num_cities);
+ println!(
+ "Note: For {} cities, only running optimized solution.",
+ num_cities
+ );
println!(" Use --all flag to run all implementations (warning: may take very long!)");
println!();
}
kushal@kusfedora2024:~/src/rustlang/tsp_rust$ cargo fmt --all
kushal@kusfedora2024:~/src/rustlang/tsp_rust$1 parent a8f3af6 commit 74d849a
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
541 | | - | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
| 544 | + | |
542 | 545 | | |
543 | 546 | | |
544 | 547 | | |
| |||
0 commit comments