It's been unsafe since 2014 when it was called `unwrap`. Nobody thought about it, I guess, but it shouldn't be unsafe.