rust/crates
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
..
ra_arena
ra_assists More natural trait setup 2020-01-16 16:27:21 +01:00
ra_batch Support setting cargo features 2019-12-13 18:16:34 +08:00
ra_cargo_watch Tweak naming slightly 2020-01-15 15:53:08 +01:00
ra_cfg
ra_cli Some clippy lints 2020-01-13 11:27:06 -05:00
ra_db Remove the Default impl for SourceRoot 2020-01-08 19:42:27 +01:00
ra_fmt
ra_hir Fix comment 2020-01-16 17:57:50 +01:00
ra_hir_def Remove dead code 2020-01-16 17:56:14 +01:00
ra_hir_expand Use dummy value for line! and column! macro 2020-01-15 01:47:01 +08:00
ra_hir_ty Fix inference for shift operators 2020-01-17 16:59:51 +01:00
ra_ide Improve parameter hints a bit & add emacs support 2020-01-18 13:40:32 +01:00
ra_lsp_server Minimize visibility 2020-01-16 11:58:31 +01:00
ra_mbe Add details about test_repeat_bad_var current state 2019-12-30 17:12:20 +01:00
ra_parser Nest attrs into exprs in function args 2020-01-17 11:47:07 +01:00
ra_prof Fix a corner case when printing unaccounted time 2020-01-19 18:34:40 +01:00
ra_project_model Address nit 2020-01-10 22:41:52 +01:00
ra_syntax Nest attrs into exprs in function args 2020-01-17 11:47:07 +01:00
ra_text_edit
ra_tt Refactoring 2019-12-18 13:10:37 +08:00
ra_vfs_glob
test_utils Refactor goto tests to always specify texts 2019-12-18 16:00:35 +01:00