Skip to content

Commit 6716c83

Browse files
committed
bootstrap: Print units for "finished in xxx" message
It now says "finished in xxx seconds". Also slightly improved some wording in the README.
1 parent 4d247ad commit 6716c83

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ standard library, and documentation.
99

1010
**Note: this README is for _users_ rather than _contributors_.
1111
If you wish to _contribute_ to the compiler, you should read the
12-
[Getting Started][gettingstarted] of the rustc-dev-guide instead of this
13-
section.**
12+
[Getting Started][gettingstarted] section of the rustc-dev-guide instead.**
1413

1514
## Quick Start
1615

src/bootstrap/util.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ impl Drop for TimeIt {
122122
fn drop(&mut self) {
123123
let time = self.1.elapsed();
124124
if !self.0 {
125-
println!("\tfinished in {}.{:03}", time.as_secs(), time.subsec_millis());
125+
println!("\tfinished in {}.{:03} seconds", time.as_secs(), time.subsec_millis());
126126
}
127127
}
128128
}

0 commit comments

Comments
 (0)