doc: update a reference from add_system to add_systems (#8881)

Small fix for a forgotten documentation comment.
This commit is contained in:
Thierry Berger 2023-06-18 19:17:02 +02:00 committed by GitHub
parent 84de9e7f28
commit 17e1d211c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.