bootstrap: Print units for "finished in xxx" message

It now says "finished in xxx seconds".

Also slightly improved some wording in the README.
This commit is contained in:
Camelid 2020-10-18 13:54:51 -07:00
parent 4d247ad7d3
commit 6716c8320f
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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());
}
}
}