From 17e1d211c5b291d02526180d47f87f5a1047bf68 Mon Sep 17 00:00:00 2001 From: Thierry Berger Date: Sun, 18 Jun 2023 19:17:02 +0200 Subject: [PATCH] doc: update a reference from add_system to add_systems (#8881) Small fix for a forgotten documentation comment. --- crates/bevy_ecs/src/system/system.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/system/system.rs b/crates/bevy_ecs/src/system/system.rs index 617db94db7258..124aa4582fb00 100644 --- a/crates/bevy_ecs/src/system/system.rs +++ b/crates/bevy_ecs/src/system/system.rs @@ -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.