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);
}