I encountered this block of code while reading documentation from a Rust library:
for (ent, pos, vel) in (&*entities, &mut pos_storage, &vel_storage).join() {
println!("Processing entity: {:?}", ent);
*pos += *vel;
}
Original link: https://slide-rs.github.io/specs/08_join.html
What does &*entities do here. From what I can tell it’s dereferencing entities and then referencing it again?