@@ -550,6 +550,7 @@ unsafe impl<T: Component> WorldQuery for &T {
550
550
551
551
const IS_ARCHETYPAL : bool = true ;
552
552
553
+ #[ inline]
553
554
unsafe fn init_fetch < ' w > (
554
555
world : & ' w World ,
555
556
& component_id: & ComponentId ,
@@ -695,6 +696,7 @@ unsafe impl<'__w, T: Component> WorldQuery for Ref<'__w, T> {
695
696
696
697
const IS_ARCHETYPAL : bool = true ;
697
698
699
+ #[ inline]
698
700
unsafe fn init_fetch < ' w > (
699
701
world : & ' w World ,
700
702
& component_id: & ComponentId ,
@@ -856,6 +858,7 @@ unsafe impl<'__w, T: Component> WorldQuery for &'__w mut T {
856
858
857
859
const IS_ARCHETYPAL : bool = true ;
858
860
861
+ #[ inline]
859
862
unsafe fn init_fetch < ' w > (
860
863
world : & ' w World ,
861
864
& component_id: & ComponentId ,
@@ -1000,6 +1003,7 @@ unsafe impl<T: WorldQuery> WorldQuery for Option<T> {
1000
1003
1001
1004
const IS_ARCHETYPAL : bool = T :: IS_ARCHETYPAL ;
1002
1005
1006
+ #[ inline]
1003
1007
unsafe fn init_fetch < ' w > (
1004
1008
world : & ' w World ,
1005
1009
state : & T :: State ,
@@ -1104,6 +1108,7 @@ macro_rules! impl_tuple_fetch {
1104
1108
) * )
1105
1109
}
1106
1110
1111
+ #[ inline]
1107
1112
#[ allow( clippy:: unused_unit) ]
1108
1113
unsafe fn init_fetch<' w>( _world: & ' w World , state: & Self :: State , _last_run: Tick , _this_run: Tick ) -> Self :: Fetch <' w> {
1109
1114
let ( $( $name, ) * ) = state;
@@ -1213,6 +1218,7 @@ macro_rules! impl_anytuple_fetch {
1213
1218
) * )
1214
1219
}
1215
1220
1221
+ #[ inline]
1216
1222
#[ allow( clippy:: unused_unit) ]
1217
1223
unsafe fn init_fetch<' w>( _world: & ' w World , state: & Self :: State , _last_run: Tick , _this_run: Tick ) -> Self :: Fetch <' w> {
1218
1224
let ( $( $name, ) * ) = state;
0 commit comments