Skip to content

Commit

Permalink
return impl Iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
hymm committed Sep 25, 2023
1 parent a2db340 commit 14a6808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/bevy_ecs/src/schedule/schedule.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1749,7 +1749,7 @@ impl IgnoredSchedulingAmbiguities {
}

/// Iterate through the [`ComponentId`]'s that will be ignored.
pub fn iter(&self) -> Iter<'_, ComponentId> {
pub fn iter(&self) -> impl Iterator<Item = &ComponentId> + '_ {
self.0.iter()
}

Expand Down

0 comments on commit 14a6808

Please sign in to comment.