All functions that have `unsafe` as part of their name have it because they can lead to u.b. with improper use.
Regardless, I agree the function under discussion though, "head", is not "unsafe" in either sense. That's why I said "as an aside".
All functions that have `unsafe` as part of their name have it because they can lead to u.b. with improper use.