@@ -1156,11 +1156,11 @@ impl<'w, 's, Q: WorldQuery, F: WorldQuery> Query<'w, 's, Q, F> {
1156
1156
/// }
1157
1157
/// # bevy_ecs::system::assert_is_system(system);
1158
1158
/// ```
1159
- pub fn many_iter < I , II , E > ( & self , entities : II ) -> QueryManyIter < ' _ , ' _ , I , Q , F , E >
1159
+ pub fn many_iter < I , EntityList , E > ( & self , entities : EntityList ) -> QueryManyIter < ' _ , ' _ , I , Q , F , E >
1160
1160
where
1161
1161
E : Borrow < Entity > ,
1162
1162
I : Iterator < Item = E > ,
1163
- II : IntoIterator < IntoIter = I > ,
1163
+ EntityList : IntoIterator < IntoIter = I > ,
1164
1164
{
1165
1165
QueryManyIter {
1166
1166
entities : entities. into_iter ( ) ,
@@ -1195,10 +1195,10 @@ impl<'w, 's, Q: WorldQuery, F: WorldQuery> Query<'w, 's, Q, F> {
1195
1195
/// }
1196
1196
/// # bevy_ecs::system::assert_is_system(system);
1197
1197
/// ```
1198
- pub fn many_for_each < II , E > ( & self , entities : II , f : impl Fn ( ROQueryItem < ' _ , Q > ) )
1198
+ pub fn many_for_each < EntityList , E > ( & self , entities : EntityList , f : impl Fn ( ROQueryItem < ' _ , Q > ) )
1199
1199
where
1200
1200
E : Borrow < Entity > ,
1201
- II : IntoIterator < Item = E > ,
1201
+ EntityList : IntoIterator < Item = E > ,
1202
1202
{
1203
1203
entities. into_iter ( ) . map ( |e| * e. borrow ( ) ) . for_each ( |input| {
1204
1204
if let Ok ( item) = self . get ( input) {
@@ -1235,10 +1235,10 @@ impl<'w, 's, Q: WorldQuery, F: WorldQuery> Query<'w, 's, Q, F> {
1235
1235
/// }
1236
1236
/// # bevy_ecs::system::assert_is_system(system);
1237
1237
/// ```
1238
- pub fn many_for_each_mut < II , E > ( & mut self , entities : II , mut f : impl FnMut ( QueryItem < ' _ , Q > ) )
1238
+ pub fn many_for_each_mut < EntityList , E > ( & mut self , entities : EntityList , mut f : impl FnMut ( QueryItem < ' _ , Q > ) )
1239
1239
where
1240
1240
E : Borrow < Entity > ,
1241
- II : IntoIterator < Item = E > ,
1241
+ EntityList : IntoIterator < Item = E > ,
1242
1242
{
1243
1243
entities. into_iter ( ) . map ( |e| * e. borrow ( ) ) . for_each ( |entity| {
1244
1244
if let Ok ( item) = self . get_mut ( entity) {
0 commit comments