diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-01-19 17:51:06 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-01-19 17:51:06 +0000 |
commit | 648241ee930de08ba70b0b5c2172dfb3cc7a34c6 (patch) | |
tree | c88da3a3b0aa95f16c5a82c7c43f75c72792ab78 /xtask/src/install.rs | |
parent | 3a7724e44181ccd5c248589538bd82458b5a9407 (diff) | |
parent | e8acf49088f90d8d4439c4034696bc4e5f8b4ed9 (diff) |
Merge #2878
2878: Fix a corner case when printing unaccounted time r=matklad a=michalt
Previously `ra_prof` wouldn't actually print the unaccounted time in
some cases.
We would print, for instance, this:
```
5ms - foo
2ms - bar
```
instead of:
```
5ms - foo
2ms - bar
3ms - ???
```
The fix is to properly handle the case when an entry has 0 children
instead of using the `last` variable.
Signed-off-by: Michal Terepeta <[email protected]>
Co-authored-by: Michal Terepeta <[email protected]>
Diffstat (limited to 'xtask/src/install.rs')
0 files changed, 0 insertions, 0 deletions