Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
  • Loading branch information
jakobhellermann and alice-i-cecile authored Feb 13, 2023
1 parent 0b8d4a2 commit 19f7d37
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/bevy_ecs/src/schedule_v3/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -293,14 +293,17 @@ impl Dag {
}

/// A cached topological ordering of the graph.
///
/// The order is determined by the ordering dependencies between systems.
pub fn topsort(&self) -> &[NodeId] {
&self.topsort
}
}

/// Describes which base set (i.e. [`SystemSet`] where [`SystemSet::is_base`] returns true)
/// a systems belongs to.
/// Note that this is only populated, once [`ScheduleGraph::build_schedule`] is called.
/// a system belongs to.
///
/// Note that this is only populated once [`ScheduleGraph::build_schedule`] is called.
#[derive(Copy, Clone, Eq, PartialEq, Debug)]
pub enum BaseSetMembership {
Uncalculated,
Expand Down

0 comments on commit 19f7d37

Please sign in to comment.