Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
xavxav
on April 11, 2022
|
parent
|
context
|
favorite
| on:
What Is Rust's Unsafe? (2019)
I would argue it’s language-ub to convert an invalid slice into into a String, it’s bubbling up a requirement of str which relies on the contained utf-8 to be well-formed for memory safety.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: