Hacker News new | past | comments | ask | show | jobs | submit login

It's actually like a ref Span argument, if my understanding of it is correct.

&[T] is like Span<T>, while a &mut &[T] is like a reference to a Span<T>.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: