about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-19 04:34:34 +0000
committerbors <bors@rust-lang.org>2020-10-19 04:34:34 +0000
commitcb2462c53f2cc3f140c0f1ea0976261cab968a34 (patch)
treee07c8af909b5b69cff4838ee7ae63f64c687b314
parent78307d8700136b0a382a3921d95661a5a5675fae (diff)
parent6716c8320f7a09ad521aa70f4a6f12e3ddb3f26a (diff)
downloadrust-cb2462c53f2cc3f140c0f1ea0976261cab968a34.tar.gz
rust-cb2462c53f2cc3f140c0f1ea0976261cab968a34.zip
Auto merge of #78087 - camelid:bootstrap-print-units, r=jyn514
bootstrap: Print units for "finished in xxx" message

It now says "finished in xxx seconds".

Also slightly improved some wording in the README.
-rw-r--r--README.md3
-rw-r--r--src/bootstrap/util.rs2
2 files changed, 2 insertions, 3 deletions
diff --git a/README.md b/README.md
index d445bbdf6e8..07c09604664 100644
--- a/README.md
+++ b/README.md
@@ -9,8 +9,7 @@ standard library, and documentation.
 
 **Note: this README is for _users_ rather than _contributors_.
 If you wish to _contribute_ to the compiler, you should read the
-[Getting Started][gettingstarted] of the rustc-dev-guide instead of this
-section.**
+[Getting Started][gettingstarted] section of the rustc-dev-guide instead.**
 
 ## Quick Start
 
diff --git a/src/bootstrap/util.rs b/src/bootstrap/util.rs
index a307ef39d03..b35d1b99fa5 100644
--- a/src/bootstrap/util.rs
+++ b/src/bootstrap/util.rs
@@ -122,7 +122,7 @@ impl Drop for TimeIt {
     fn drop(&mut self) {
         let time = self.1.elapsed();
         if !self.0 {
-            println!("\tfinished in {}.{:03}", time.as_secs(), time.subsec_millis());
+            println!("\tfinished in {}.{:03} seconds", time.as_secs(), time.subsec_millis());
         }
     }
 }