Skip to content

Commit eed05a9

Browse files
bors[bot]Veetaha
andauthored
Merge #5689
5689: Remove clone r=kjeremy a=Veetaha Co-authored-by: Veetaha <[email protected]>
2 parents a69f19a + b1ec08e commit eed05a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/rust-analyzer/src/main_loop.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
4747
SetThreadPriority(thread, thread_priority_above_normal);
4848
}
4949

50-
GlobalState::new(connection.sender.clone(), config).run(connection.receiver)
50+
GlobalState::new(connection.sender, config).run(connection.receiver)
5151
}
5252

5353
enum Event {

0 commit comments

Comments
 (0)