diff options
| author | Camelid <camelidcamel@gmail.com> | 2020-10-18 13:54:51 -0700 |
|---|---|---|
| committer | Camelid <camelidcamel@gmail.com> | 2020-10-18 13:55:35 -0700 |
| commit | 6716c8320f7a09ad521aa70f4a6f12e3ddb3f26a (patch) | |
| tree | a30fe532deacbda48469aefca8d5cb1a90e6043e | |
| parent | 4d247ad7d3d2a9f72cd60e281f39b5d85bd6a463 (diff) | |
| download | rust-6716c8320f7a09ad521aa70f4a6f12e3ddb3f26a.tar.gz rust-6716c8320f7a09ad521aa70f4a6f12e3ddb3f26a.zip | |
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.md | 3 | ||||
| -rw-r--r-- | src/bootstrap/util.rs | 2 |
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()); } } } |
