Skip to content

Commit

Permalink
doc: update a reference from add_system to add_systems (#8881)
Browse files Browse the repository at this point in the history
Small fix for a forgotten documentation comment.
  • Loading branch information
Vrixyz committed Jun 18, 2023
1 parent 84de9e7 commit 17e1d21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/system/system.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use std::borrow::Cow;
/// Systems are functions with all arguments implementing
/// [`SystemParam`](crate::system::SystemParam).
///
/// Systems are added to an application using `App::add_system(my_system)`
/// Systems are added to an application using `App::add_systems(Update, my_system)`
/// or similar methods, and will generally run once per pass of the main loop.
///
/// Systems are executed in parallel, in opportunistic order; data access is managed automatically.
Expand Down

0 comments on commit 17e1d21

Please sign in to comment.