Fix doc of [Schedules] to mention exclusion of current schedule. (#11360)

Document that [`Schedules`] resource does not include the current
schedule.
This commit is contained in:
Turki Al-Marri 2024-01-15 22:13:13 +03:00 committed by GitHub
parent aeab690fdb
commit fcc1113ec8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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<InternedScheduleLabel, Schedule>,