Skip to content

Commit 7ceec90

Browse files
authored
Fix "App::add_system" mention (#2534)
1 parent 4660133 commit 7ceec90

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

content/learn/book/control-flow/systems.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ See the section on [local system state] for more details.
185185

186186
Systems are usually repeatedly run throughout the life of your application.
187187
We are able to control when systems run and how systems are ordered by placing them into a [`Schedule`].
188-
The [`App::add_system`] method is the simplest way to do this, allowing us to specify a `System` that we want to insert into a specific `Schedule` running in our application.
188+
The [`App::add_systems`] method is the simplest way to do this, allowing us to specify a `System` that we want to insert into a specific `Schedule` running in our application.
189189

190190
```rust
191191
fn main() {
@@ -207,7 +207,7 @@ You can read more about schedules in the dedicated [Schedules section], but for
207207
[Schedules section]: /learn/book/the-game-loop/schedules
208208

209209
[`Schedule`]: https://docs.rs/bevy/latest/bevy/ecs/schedule/struct.Schedule.html
210-
[`App::add_system`]: https://docs.rs/bevy/latest/bevy/app/struct.App.html#method.add_systems
210+
[`App::add_systems`]: https://docs.rs/bevy/latest/bevy/app/struct.App.html#method.add_systems
211211
[`Update`]: https://docs.rs/bevy/latest/bevy/app/struct.Update.html
212212
[`Fixed`]: https://docs.rs/bevy/latest/bevy/prelude/struct.Fixed.html
213213

0 commit comments

Comments
 (0)