Re:How I went about learning Rust
by groby_b on Friday July 15, 2022 @05:48PM
(#32113167)
This only works for non-sentinels. I.e. if "-1" happens to be the value indicating NoScore, I don't think the TS compiler can catch that?
[ Parent
| on HN ]