Remove clone

This commit is contained in:
Veetaha 2020-08-08 17:42:50 +03:00
parent a69f19a6a5
commit b1ec08e3ff

View file

@ -47,7 +47,7 @@ pub fn main_loop(config: Config, connection: Connection) -> Result<()> {
SetThreadPriority(thread, thread_priority_above_normal); 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 { enum Event {