Skip to content

Commit a9a6e14

Browse files
committed
update an outdated comment
1 parent b926ece commit a9a6e14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/bevy_ecs/examples/resources.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ fn main() {
1515
let mut schedule = Schedule::default();
1616
let mut update = SystemStage::parallel();
1717

18-
// Declare a private stage label
19-
2018
// Add systems to increase the counter and to print out the current value
2119
update.add_system(increase_counter);
2220
update.add_system(print_counter.after(increase_counter));
2321

24-
// Add the stage to the schedule.
22+
// Declare a unique label for the stage.
2523
#[derive(StageLabel)]
2624
struct Update;
25+
26+
// Add the stage to the schedule.
2727
schedule.add_stage(Update, update);
2828

2929
for iteration in 1..=10 {

0 commit comments

Comments
 (0)