diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-02-02 17:57:40 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2020-02-02 17:57:40 +0000 |
commit | d06e02dd13e7cf10d53203620592aa0e85d808c0 (patch) | |
tree | 04241d931e7d2f57799a4ff28a11f020090def74 /crates/ra_lsp_server/src | |
parent | 856e4ba126ae776753f38c00593c02c4f43be510 (diff) | |
parent | 24ad1cce2c3cf2c0ce8288fc02c4c55529598990 (diff) |
Merge #2985
2985: Avoid premature pessimization r=matklad a=matklad
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index d850ded37..508fe08c0 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -403,7 +403,6 @@ fn loop_turn( | |||
403 | let sender = libdata_sender.clone(); | 403 | let sender = libdata_sender.clone(); |
404 | pool.execute(move || { | 404 | pool.execute(move || { |
405 | log::info!("indexing {:?} ... ", root); | 405 | log::info!("indexing {:?} ... ", root); |
406 | let _p = profile(&format!("indexed {:?}", root)); | ||
407 | let data = LibraryData::prepare(root, files); | 406 | let data = LibraryData::prepare(root, files); |
408 | sender.send(data).unwrap(); | 407 | sender.send(data).unwrap(); |
409 | }); | 408 | }); |