But indices are still safer than raw pointers - vec access does bounds checks. You can make indices typed if you’re worried about mixing them up.
But indices are still safer than raw pointers - vec access does bounds checks. You can make indices typed if you’re worried about mixing them up.