@@ -625,7 +625,7 @@ where
625
625
///
626
626
/// Note that the unlike [`Query::get_many_mut`], the entities passed in do not need to be unique.
627
627
///
628
- /// See [`Query::multiple `] for the infallible equivalent.
628
+ /// See [`Query::many `] for the infallible equivalent.
629
629
#[ inline]
630
630
pub fn get_many < const N : usize > (
631
631
& self ,
@@ -669,7 +669,7 @@ where
669
669
/// fn check_all_targets_in_range(targeting_query: Query<(Entity, &Targets, &Position)>, targets_query: Query<&Position>){
670
670
/// for (targeting_entity, targets, origin) in targeting_query.iter(){
671
671
/// // We can use "destructuring" to unpack the results nicely
672
- /// let [target_1, target_2, target_3] = targets_query.multiple (targets.0);
672
+ /// let [target_1, target_2, target_3] = targets_query.many (targets.0);
673
673
///
674
674
/// assert!(target_1.distance(origin) <= 5);
675
675
/// assert!(target_2.distance(origin) <= 5);
@@ -678,7 +678,7 @@ where
678
678
/// }
679
679
/// ```
680
680
#[ inline]
681
- pub fn multiple < const N : usize > (
681
+ pub fn many < const N : usize > (
682
682
& self ,
683
683
entities : [ Entity ; N ] ,
684
684
) -> [ <Q :: ReadOnlyFetch as Fetch < ' _ , ' s > >:: Item ; N ] {
@@ -731,7 +731,7 @@ where
731
731
/// In case of a nonexisting entity, duplicate entities or mismatched component, a [`QueryEntityError`] is
732
732
/// returned instead.
733
733
///
734
- /// See [`Query::multiple_mut `] for the infallible equivalent.
734
+ /// See [`Query::many_mut `] for the infallible equivalent.
735
735
#[ inline]
736
736
pub fn get_many_mut < const N : usize > (
737
737
& mut self ,
@@ -778,7 +778,7 @@ where
778
778
/// fn spring_forces(spring_query: Query<&Spring>, mut mass_query: Query<(&Position, &mut Force)>){
779
779
/// for spring in spring_query.iter(){
780
780
/// // We can use "destructuring" to unpack our query items nicely
781
- /// let [(position_1, mut force_1), (position_2, mut force_2)] = mass_query.multiple_mut (spring.connected_entities);
781
+ /// let [(position_1, mut force_1), (position_2, mut force_2)] = mass_query.many_mut (spring.connected_entities);
782
782
///
783
783
/// force_1.x += spring.strength * (position_1.x - position_2.x);
784
784
/// force_1.y += spring.strength * (position_1.y - position_2.y);
@@ -790,7 +790,7 @@ where
790
790
/// }
791
791
/// ```
792
792
#[ inline]
793
- pub fn multiple_mut < const N : usize > (
793
+ pub fn many_mut < const N : usize > (
794
794
& mut self ,
795
795
entities : [ Entity ; N ] ,
796
796
) -> [ <Q :: Fetch as Fetch < ' _ , ' s > >:: Item ; N ] {
0 commit comments