diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2020-06-25 23:55:26 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-25 23:55:26 +0100 |
commit | 5f0889642401ac3da7be29b8122d04dbf65b1292 (patch) | |
tree | e7cf891ed12ec26e9dc17e774a0c71091dc0eae5 /crates/rust-analyzer/src/main_loop.rs | |
parent | 6eb0349a7b2dd71eae6f1541cdd26e1ac50363d0 (diff) | |
parent | 5f6f994256a4a91f1caba9cabfd7a4552180a9da (diff) |
Merge #5069
5069: DWIM introduce variable r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index d4879283d..d03c68edf 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -44,8 +44,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> { | |||
44 | SetThreadPriority(thread, thread_priority_above_normal); | 44 | SetThreadPriority(thread, thread_priority_above_normal); |
45 | } | 45 | } |
46 | 46 | ||
47 | GlobalState::new(connection.sender.clone(), config.lru_capacity, config) | 47 | GlobalState::new(connection.sender.clone(), config).run(connection.receiver) |
48 | .run(connection.receiver) | ||
49 | } | 48 | } |
50 | 49 | ||
51 | enum Event { | 50 | enum Event { |