diff options
author | Veetaha <[email protected]> | 2020-08-08 15:42:50 +0100 |
---|---|---|
committer | Veetaha <[email protected]> | 2020-08-08 15:42:50 +0100 |
commit | b1ec08e3ffb510e4f93dbf8a93eac6c98b88f8dc (patch) | |
tree | 83e4a0d1da9fcb36d64603da52c7146d2a2e744b /crates | |
parent | a69f19a6a5899bdfb6fc498371650bf54263deff (diff) |
Remove clone
Diffstat (limited to 'crates')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 2 |
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 | ||
53 | enum Event { | 53 | enum Event { |