diff options
| author | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:35:46 +0800 |
|---|---|---|
| committer | 魏曹先生 <1992414357@qq.com> | 2026-08-14 00:35:46 +0800 |
| commit | 1771304c59f6bdf162ed655c8fbc69d478600bf5 (patch) | |
| tree | 7cad91be8e99beee9150c911efe570edf8ff1746 /examples/example-resources/src/main.rs | |
| parent | 299b96c8917a7b2c70c9e8040c064d3186ecd760 (diff) | |
refactor: replace with_dispatchers with chained with_dispatcher calls
Diffstat (limited to 'examples/example-resources/src/main.rs')
| -rw-r--r-- | examples/example-resources/src/main.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/example-resources/src/main.rs b/examples/example-resources/src/main.rs index 60c5c08..38e4561 100644 --- a/examples/example-resources/src/main.rs +++ b/examples/example-resources/src/main.rs @@ -37,7 +37,9 @@ fn main() { }); // --------- IMPORTANT --------- - program.with_dispatchers((CMDCurrent, CMDModifyCurrent)); + program + .with_dispatcher(CMDCurrent) + .with_dispatcher(CMDModifyCurrent); program.exec_and_exit(); } |
