From 1771304c59f6bdf162ed655c8fbc69d478600bf5 Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Fri, 14 Aug 2026 00:35:46 +0800 Subject: refactor: replace with_dispatchers with chained with_dispatcher calls --- examples/example-resources/src/main.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/example-resources') 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(); } -- cgit