Skip to content

Commit

Permalink
Update crates/bevy_ecs/src/schedule/state.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Alexander Krivács Schrøder <alexschrod@gmail.com>
  • Loading branch information
jakobhellermann and ilyvion authored Apr 10, 2021
1 parent 2640237 commit ea39649
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ impl<T: Component + Clone + Eq> State<T> {
}

pub fn inactives(&self) -> &[T] {
self.stack.split_last().map(|(_last, rest)| rest).unwrap()
self.stack.split_last().map(|(_, rest)| rest).unwrap()
}
}

Expand Down

0 comments on commit ea39649

Please sign in to comment.