aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_parser
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-01-19 17:51:06 +0000
committerGitHub <[email protected]>2020-01-19 17:51:06 +0000
commit648241ee930de08ba70b0b5c2172dfb3cc7a34c6 (patch)
treec88da3a3b0aa95f16c5a82c7c43f75c72792ab78 /crates/ra_parser
parent3a7724e44181ccd5c248589538bd82458b5a9407 (diff)
parente8acf49088f90d8d4439c4034696bc4e5f8b4ed9 (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 'crates/ra_parser')
0 files changed, 0 insertions, 0 deletions