aboutsummaryrefslogtreecommitdiff
path: root/examples/example-combine-pathf-metadata/src
diff options
context:
space:
mode:
Diffstat (limited to 'examples/example-combine-pathf-metadata/src')
-rw-r--r--examples/example-combine-pathf-metadata/src/sub/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-combine-pathf-metadata/src/sub/mod.rs b/examples/example-combine-pathf-metadata/src/sub/mod.rs
index 2e6776e..ba56285 100644
--- a/examples/example-combine-pathf-metadata/src/sub/mod.rs
+++ b/examples/example-combine-pathf-metadata/src/sub/mod.rs
@@ -8,7 +8,7 @@ use std::io::Write;
// Implicit dispatcher form — creates `CMDHello` / `EntryHello` in this module
dispatcher!("hello");
// Creates `CMDDescription` / `EntryDescription` in this module
-dispatcher!("desc", CMDDescription => EntryDescription);
+dispatcher!("desc", EntryDescription);
/// The metadata type attached to an entry (`DataType`).
#[derive(Debug, PartialEq, Eq)]