aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-08-08 17:18:01 +0100
committerGitHub <[email protected]>2020-08-08 17:18:01 +0100
commiteed05a95b47c00bf6ce06e156716cd0648a88fb2 (patch)
tree83e4a0d1da9fcb36d64603da52c7146d2a2e744b
parenta69f19a6a5899bdfb6fc498371650bf54263deff (diff)
parentb1ec08e3ffb510e4f93dbf8a93eac6c98b88f8dc (diff)
Merge #5689
5689: Remove clone r=kjeremy a=Veetaha Co-authored-by: Veetaha <[email protected]>
-rw-r--r--crates/rust-analyzer/src/main_loop.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs
index ceddb2b05..438e965e0 100644
--- a/crates/rust-analyzer/src/main_loop.rs
+++ b/crates/rust-analyzer/src/main_loop.rs
@@ -47,7 +47,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
47 SetThreadPriority(thread, thread_priority_above_normal); 47 SetThreadPriority(thread, thread_priority_above_normal);
48 } 48 }
49 49
50 GlobalState::new(connection.sender.clone(), config).run(connection.receiver) 50 GlobalState::new(connection.sender, config).run(connection.receiver)
51} 51}
52 52
53enum Event { 53enum Event {