From fcc1113ec84d520531c37383c219c3a4a730b327 Mon Sep 17 00:00:00 2001 From: Turki Al-Marri <22967219+tjamaan@users.noreply.github.com> Date: Mon, 15 Jan 2024 22:13:13 +0300 Subject: [PATCH] Fix doc of [`Schedules`] to mention exclusion of current schedule. (#11360) Document that [`Schedules`] resource does not include the current schedule. --- crates/bevy_ecs/src/schedule/schedule.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_ecs/src/schedule/schedule.rs b/crates/bevy_ecs/src/schedule/schedule.rs index 0cf8fec0ee7eb..02d69d3cb0315 100644 --- a/crates/bevy_ecs/src/schedule/schedule.rs +++ b/crates/bevy_ecs/src/schedule/schedule.rs @@ -25,7 +25,7 @@ use crate::{ world::World, }; -/// Resource that stores [`Schedule`]s mapped to [`ScheduleLabel`]s. +/// Resource that stores [`Schedule`]s mapped to [`ScheduleLabel`]s excluding the current running [`Schedule`]. #[derive(Default, Resource)] pub struct Schedules { inner: HashMap,