Skip to content

Commit

Permalink
Remove type bound on IntoIterator impl for Mut
Browse files Browse the repository at this point in the history
  • Loading branch information
tim-blackbird committed Oct 21, 2022
1 parent 33077c3 commit db9e405
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/bevy_ecs/src/change_detection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -325,7 +325,7 @@ pub struct Mut<'a, T: ?Sized> {
pub(crate) ticks: Ticks<'a>,
}

impl<'w, 'a, T: Resource> IntoIterator for &'a Mut<'w, T>
impl<'w, 'a, T> IntoIterator for &'a Mut<'w, T>
where
&'a T: IntoIterator,
{
Expand All @@ -338,7 +338,7 @@ where
}
}

impl<'w, 'a, T: Resource> IntoIterator for &'a mut Mut<'w, T>
impl<'w, 'a, T> IntoIterator for &'a mut Mut<'w, T>
where
&'a mut T: IntoIterator,
{
Expand Down

0 comments on commit db9e405

Please sign in to comment.