logoalt Hacker News

Xylakantyesterday at 6:43 PM1 replyview on HN

That is not Rusts guarantee. The guarantee is that safe rust cannot in itself introduce UB - UB can only ever be introduced in unsafe blocks, but it can then materialize in safe code.


Replies

stavrosyesterday at 6:45 PM

Ah OK, that makes sense, thanks.