From d6d1bb581fa960eb58b60d4cc2bb39db59dbb057 Mon Sep 17 00:00:00 2001 From: Dustin Carlino Date: Sun, 6 Mar 2022 17:41:09 +0000 Subject: [PATCH] Rename some code, to trigger a [rebuild] [release] --- apps/ltn/src/browse.rs | 4 +++- apps/ltn/src/lib.rs | 2 +- apps/ltn/src/{pathfinding.rs => route_planner.rs} | 0 apps/ltn/src/save.rs | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) rename apps/ltn/src/{pathfinding.rs => route_planner.rs} (100%) diff --git a/apps/ltn/src/browse.rs b/apps/ltn/src/browse.rs index 4fe7449187..9f5e8e2cb2 100644 --- a/apps/ltn/src/browse.rs +++ b/apps/ltn/src/browse.rs @@ -130,7 +130,9 @@ impl State for BrowseNeighborhoods { return Transition::Push(crate::impact::ShowResults::new_state(ctx, app)); } "Plan a route" => { - return Transition::Push(crate::pathfinding::RoutePlanner::new_state(ctx, app)); + return Transition::Push(crate::route_planner::RoutePlanner::new_state( + ctx, app, + )); } "Automatically place filters" => { ctx.loading_screen("automatically filter all neighborhoods", |ctx, timer| { diff --git a/apps/ltn/src/lib.rs b/apps/ltn/src/lib.rs index 26cef3cffd..eb53546bf5 100644 --- a/apps/ltn/src/lib.rs +++ b/apps/ltn/src/lib.rs @@ -24,10 +24,10 @@ mod filters; mod impact; mod neighborhood; mod partition; -mod pathfinding; mod per_neighborhood; mod rat_run_viewer; mod rat_runs; +mod route_planner; mod save; mod select_boundary; diff --git a/apps/ltn/src/pathfinding.rs b/apps/ltn/src/route_planner.rs similarity index 100% rename from apps/ltn/src/pathfinding.rs rename to apps/ltn/src/route_planner.rs diff --git a/apps/ltn/src/save.rs b/apps/ltn/src/save.rs index 7b0f4945d5..34640d0fc1 100644 --- a/apps/ltn/src/save.rs +++ b/apps/ltn/src/save.rs @@ -287,7 +287,7 @@ impl PreserveState { Transition::Replace(BrowseNeighborhoods::new_state(ctx, app)) } PreserveState::Route => { - Transition::Replace(crate::pathfinding::RoutePlanner::new_state(ctx, app)) + Transition::Replace(crate::route_planner::RoutePlanner::new_state(ctx, app)) } PreserveState::PerNeighborhood(tab, blocks) => { // Count which new neighborhoods have the blocks from the original. Pick the one