1
0
Fork 0
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:
Jake Stanger 2023-01-27 23:17:33 +00:00
parent 6e5d0c1e8c
commit 0d7ab54160
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61

View file

@ -142,7 +142,7 @@ impl EventClient {
if prev_workspace.id != workspace.id {
tx.send(WorkspaceUpdate::Focus {
old: prev_workspace,
new: workspace.clone(),
new: workspace,
})
.expect(ERR_CHANNEL_SEND);
}