aboutsummaryrefslogtreecommitdiff
path: root/examples/example-pathfinder/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-pathfinder/src/main.rs')
-rw-r--r--examples/example-pathfinder/src/main.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/examples/example-pathfinder/src/main.rs b/examples/example-pathfinder/src/main.rs
index 0f93a8d..cd7cc7d 100644
--- a/examples/example-pathfinder/src/main.rs
+++ b/examples/example-pathfinder/src/main.rs
@@ -19,12 +19,9 @@
mod sub;
use mingling::macros::gen_program;
-use crate::sub::CMDGreet;
fn main() {
- let mut program = ThisProgram::new();
- program.with_dispatcher(CMDGreet);
- program.exec_and_exit();
+ ThisProgram::new().exec_and_exit();
}
gen_program!();