diff options
Diffstat (limited to 'examples/example-lazy-resources/src/main.rs')
| -rw-r--r-- | examples/example-lazy-resources/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/example-lazy-resources/src/main.rs b/examples/example-lazy-resources/src/main.rs index aaafb98..7dda658 100644 --- a/examples/example-lazy-resources/src/main.rs +++ b/examples/example-lazy-resources/src/main.rs @@ -64,7 +64,7 @@ fn main() { program.with_resource(ResLargeData::lazy_init(init_res_large_data)); // --------- IMPORTANT --------- - program.with_dispatchers((CMDShow, CMDNone)); + program.with_dispatcher(CMDShow).with_dispatcher(CMDNone); program.exec_and_exit(); } |
