Add note about auto-running cargo fmt upon save

This commit is contained in:
Nathan Stocks
2021-08-16 21:48:08 -06:00
parent 5092e95031
commit 53909a5433

View File

@@ -1,4 +1,5 @@
// 1. This code looks terrible. Let's start cleaning this up by running `cargo fmt`. // 1. This code looks terrible. Let's start cleaning this up by running `cargo fmt`. If you
// configured your editor or IDE to run `cargo fmt` automatically upon save, you can just save!
// 2. `cargo fmt` is great, but it doesn't add blank lines where there are none. Go ahead and add // 2. `cargo fmt` is great, but it doesn't add blank lines where there are none. Go ahead and add
// some blank lines in places you think it would make sense. // some blank lines in places you think it would make sense.