logoalt Hacker News

pheggs • yesterday at 7:32 PM • 1 reply • view on HN

That's exactly what I mean. And I have seen a huge amount of unchecked unwraps in production code in the past years


Replies

K0nserv • yesterday at 7:35 PM

Sure, but it's far better than the C code and I don't think in Rust a library would start returning `Ok` with sentinel values to "fix" shit calling code. Maintainers would, rightfully, tell people to fix their code.

➕ show 1 reply