mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-24 12:03:31 +00:00
Remove clone
This commit is contained in:
parent
a69f19a6a5
commit
b1ec08e3ff
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
|
|||
SetThreadPriority(thread, thread_priority_above_normal);
|
||||
}
|
||||
|
||||
GlobalState::new(connection.sender.clone(), config).run(connection.receiver)
|
||||
GlobalState::new(connection.sender, config).run(connection.receiver)
|
||||
}
|
||||
|
||||
enum Event {
|
||||
|
|
Loading…
Reference in a new issue