mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-11-01 12:17:18 +00:00
lint fixes
This commit is contained in:
1 parent
f5a2db0565
commit
6956c19410
45 files changed
+243
-244
No files matched your search
@@ -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(),
|
||||
|
||||
Reference in new issue
Block a user