Fix compiler warnings
This commit is contained in:
parent
087715aa8f
commit
42c6a3729a
2 changed files with 7 additions and 1 deletions
|
|
@ -582,10 +582,12 @@ impl State {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::NextOutput => {
|
||||
warn!("Skipping deprecated shortcut NextOutput");
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::PreviousOutput => {
|
||||
warn!("Skipping deprecated shortcut PreviousOutput");
|
||||
}
|
||||
|
|
@ -652,10 +654,12 @@ impl State {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::MoveToNextOutput | Action::SendToNextOutput => {
|
||||
warn!("Ignoring deprecated action Move/SendToNextOutput");
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::MoveToPreviousOutput | Action::SendToPreviousOutput => {
|
||||
warn!("Ignoring deprecated action Move/SendToPreviousOutput");
|
||||
}
|
||||
|
|
@ -677,10 +681,12 @@ impl State {
|
|||
}
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::MigrateWorkspaceToNextOutput => {
|
||||
warn!("Ignoring deprecated action MigrateWorkspaceToNextOutput");
|
||||
}
|
||||
|
||||
#[allow(deprecated)]
|
||||
Action::MigrateWorkspaceToPreviousOutput => {
|
||||
warn!("Ignoring deprecated action MigrateWorkspaceToPreviousOutput");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -289,7 +289,7 @@ where
|
|||
&'a self,
|
||||
workspace: &'a WorkspaceHandle,
|
||||
client: &'a ObjectId,
|
||||
) -> impl Iterator<Item = &ExtWorkspaceHandleV1> + 'a {
|
||||
) -> impl Iterator<Item = &'a ExtWorkspaceHandleV1> + 'a {
|
||||
self.groups
|
||||
.iter()
|
||||
.find_map(|g| g.workspaces.iter().find(|w| w.id == workspace.id))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue