diff options
author | Aleksey Kladov <[email protected]> | 2021-01-28 14:04:44 +0000 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2021-01-28 14:07:53 +0000 |
commit | 4b59c3a538f27238b0466898f1b4ac69d1f9e778 (patch) | |
tree | 24c652859d30afdf198883e7f0cbe15f609682b6 /crates/rust-analyzer/src/reload.rs | |
parent | a44f6c18fb8b87c9e8deb1ff878f2fef84912b3f (diff) |
Make logger-based debugging more pleasant
Diffstat (limited to 'crates/rust-analyzer/src/reload.rs')
-rw-r--r-- | crates/rust-analyzer/src/reload.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/reload.rs b/crates/rust-analyzer/src/reload.rs index 0507186dc..ef73099cf 100644 --- a/crates/rust-analyzer/src/reload.rs +++ b/crates/rust-analyzer/src/reload.rs | |||
@@ -103,10 +103,10 @@ impl GlobalState { | |||
103 | self.fetch_workspaces_queue.request_op() | 103 | self.fetch_workspaces_queue.request_op() |
104 | } | 104 | } |
105 | pub(crate) fn fetch_workspaces_if_needed(&mut self) { | 105 | pub(crate) fn fetch_workspaces_if_needed(&mut self) { |
106 | log::info!("will fetch workspaces"); | ||
107 | if !self.fetch_workspaces_queue.should_start_op() { | 106 | if !self.fetch_workspaces_queue.should_start_op() { |
108 | return; | 107 | return; |
109 | } | 108 | } |
109 | log::info!("will fetch workspaces"); | ||
110 | 110 | ||
111 | self.task_pool.handle.spawn_with_sender({ | 111 | self.task_pool.handle.spawn_with_sender({ |
112 | let linked_projects = self.config.linked_projects(); | 112 | let linked_projects = self.config.linked_projects(); |