fixed compile issue on resource tuple insertion macro

This commit is contained in:
Matthias 2024-11-21 13:51:17 +01:00
parent 6b3524d171
commit 4ac40a1c2b

View file

@ -1016,7 +1016,7 @@ mod sealed {
#[cfg(feature = "track_change_detection")] caller: &'static Location,
){
let ($($r,)*) = self;
$($r.insert_into_world(world, caller);)*
$($r.insert_into_world(world, #[cfg(feature = "track_change_detection")] caller);)*
}
}
}