aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir_def/src/path
diff options
context:
space:
mode:
authorMichal Terepeta <[email protected]>2020-01-11 18:09:31 +0000
committerMichal Terepeta <[email protected]>2020-01-19 17:34:40 +0000
commite8acf49088f90d8d4439c4034696bc4e5f8b4ed9 (patch)
treec88da3a3b0aa95f16c5a82c7c43f75c72792ab78 /crates/ra_hir_def/src/path
parent3a7724e44181ccd5c248589538bd82458b5a9407 (diff)
Fix a corner case when printing unaccounted time
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]>
Diffstat (limited to 'crates/ra_hir_def/src/path')
0 files changed, 0 insertions, 0 deletions