diff --git a/docs/tutorials/src/03_dispatcher.md b/docs/tutorials/src/03_dispatcher.md index d948418e1..998adcff8 100644 --- a/docs/tutorials/src/03_dispatcher.md +++ b/docs/tutorials/src/03_dispatcher.md @@ -172,7 +172,7 @@ fn main() { .with(HelloWorld, "hello_updated", &["update_pos"]) .build(); - dispatcher.dispatch(&mut world); + dispatcher.dispatch(&world); world.maintain(); } ```