File tree 1 file changed +5
-5
lines changed
crates/bevy_ecs/src/system
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -628,7 +628,7 @@ where
628
628
/// See [`Query::multiple`] for the infallible equivalent.
629
629
#[ inline]
630
630
pub fn get_multiple < const N : usize > (
631
- & ' s self ,
631
+ & self ,
632
632
entities : [ Entity ; N ] ,
633
633
) -> Result < [ <Q :: ReadOnlyFetch as Fetch < ' _ , ' s > >:: Item ; N ] , QueryEntityError > {
634
634
let array_of_results = entities. map ( |entity| {
@@ -691,7 +691,7 @@ where
691
691
/// ```
692
692
#[ inline]
693
693
pub fn multiple < const N : usize > (
694
- & ' s self ,
694
+ & self ,
695
695
entities : [ Entity ; N ] ,
696
696
) -> [ <Q :: ReadOnlyFetch as Fetch < ' _ , ' s > >:: Item ; N ] {
697
697
self . get_multiple ( entities) . unwrap ( )
@@ -746,9 +746,9 @@ where
746
746
/// See [`Query::multiple_mut`] for the infallible equivalent.
747
747
#[ inline]
748
748
pub fn get_multiple_mut < const N : usize > (
749
- & ' s mut self ,
749
+ & mut self ,
750
750
entities : [ Entity ; N ] ,
751
- ) -> Result < [ <Q :: Fetch as Fetch >:: Item ; N ] , QueryEntityError > {
751
+ ) -> Result < [ <Q :: Fetch as Fetch < ' _ , ' s > >:: Item ; N ] , QueryEntityError > {
752
752
for i in 0 ..N {
753
753
for j in 0 ..i {
754
754
if entities[ i] == entities[ j] {
@@ -825,7 +825,7 @@ where
825
825
/// ```
826
826
#[ inline]
827
827
pub fn multiple_mut < const N : usize > (
828
- & ' s mut self ,
828
+ & mut self ,
829
829
entities : [ Entity ; N ] ,
830
830
) -> [ <Q :: Fetch as Fetch < ' _ , ' s > >:: Item ; N ] {
831
831
self . get_multiple_mut ( entities) . unwrap ( )
You can’t perform that action at this time.
0 commit comments