mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-29 23:47:24 +02:00
refactor(clippy): apply various lint fixes
This commit is contained in:
@@ -127,6 +127,7 @@ impl Monitor {
|
||||
|
||||
let workspaces = self.workspaces_mut();
|
||||
|
||||
#[allow(clippy::option_if_let_else)]
|
||||
let target_workspace = match workspaces.get_mut(target_workspace_idx) {
|
||||
None => {
|
||||
workspaces.resize(target_workspace_idx + 1, Workspace::default());
|
||||
|
||||
Reference in New Issue
Block a user