mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-07-01 10:41:03 +02:00
refactor: remove redundant clone
This commit is contained in:
parent
6e5d0c1e8c
commit
0d7ab54160
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ impl EventClient {
|
||||||
if prev_workspace.id != workspace.id {
|
if prev_workspace.id != workspace.id {
|
||||||
tx.send(WorkspaceUpdate::Focus {
|
tx.send(WorkspaceUpdate::Focus {
|
||||||
old: prev_workspace,
|
old: prev_workspace,
|
||||||
new: workspace.clone(),
|
new: workspace,
|
||||||
})
|
})
|
||||||
.expect(ERR_CHANNEL_SEND);
|
.expect(ERR_CHANNEL_SEND);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue