aboutsummaryrefslogtreecommitdiff
path: root/mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs')
-rw-r--r--mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs7
1 files changed, 7 insertions, 0 deletions
diff --git a/mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs b/mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs
new file mode 100644
index 0000000..ac321ca
--- /dev/null
+++ b/mingling_pathf/test/src/test_files/test_dispatcher_dispatch_tree.rs
@@ -0,0 +1,7 @@
+mingling::macros::dispatcher!("greet", CMDGreet => EntryGreet);
+dispatcher!("delete", CMDDelete => EntryDelete);
+
+pub mod sub {
+ mingling::macros::dispatcher!("greet", CMDGreet => EntryGreet);
+ dispatcher!("delete", CMDDelete => EntryDelete);
+}