rust/crates/ra_prof
Michal Terepeta e8acf49088 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 <michal.terepeta@gmail.com>
2020-01-19 18:34:40 +01:00
..
src Fix a corner case when printing unaccounted time 2020-01-19 18:34:40 +01:00
Cargo.toml Disable doctests 2019-11-17 18:35:05 +03:00