refactor: remove redundant clone
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user