Remove redundant clone
This commit is contained in:
parent
296f41325a
commit
5d9e8075d2
|
@ -57,7 +57,7 @@ fn build_ui(command: Arc<RwLock<Command>>, port: &str) {
|
|||
Command::Quit => gtk::main_quit(),
|
||||
Command::Custom(_) => {
|
||||
if let Some(path) = command.to_path() {
|
||||
let _ = tx.send(path.clone());
|
||||
let _ = tx.send(path);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue