lint fixes

This commit is contained in:
vcoppe committed 2026-10-28 22:40:48 +01:00
1 parent f5a2db0565
commit 6956c19410
45 files changed
+243 -244

No files matched your search

+3 -3
View File
@@ -107,9 +107,9 @@ impl Apply for Convert {
Err(CommandError::NothingToDo)
};
}
Selection::Empty
| Selection::Waypoints { .. }
| Selection::Waypoint { .. } => return Err(CommandError::NothingToDo),
Selection::Empty | Selection::Waypoints { .. } | Selection::Waypoint { .. } => {
return Err(CommandError::NothingToDo);
}
};
let empty = match &next {
Selection::Route { rte_ids, .. } => rte_ids.is_empty(),