about summary refs log tree commit diff
path: root/src/bootstrap
diff options
context:
space:
mode:
authorRento Ezoe <reez12g@gmail.com>2022-10-01 08:06:24 +0900
committerGitHub <noreply@github.com>2022-10-01 08:06:24 +0900
commit9f201d6820fcce65320e4af6351d34cc73a12db1 (patch)
tree0ee0801cdcacca22c88cb98f04c84f04430b18fe /src/bootstrap
parentab05c48dbc815c9084d3ae9e7241e6fb87a060dd (diff)
downloadrust-9f201d6820fcce65320e4af6351d34cc73a12db1.tar.gz
rust-9f201d6820fcce65320e4af6351d34cc73a12db1.zip
Add a comment to downloading fmt statement
Co-authored-by: Joshua Nelson <github@jyn.dev>
Diffstat (limited to 'src/bootstrap')
-rw-r--r--src/bootstrap/lib.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bootstrap/lib.rs b/src/bootstrap/lib.rs
index 00fe899a2d4..8f02018b19e 100644
--- a/src/bootstrap/lib.rs
+++ b/src/bootstrap/lib.rs
@@ -668,6 +668,7 @@ impl Build {
             job::setup(self);
         }
 
+        // Download rustfmt early so that it can be used in rust-analyzer configs.
         let _ = &builder::Builder::new(&self).initial_rustfmt();
         self.maybe_update_submodules();