3 ms·
How does Rust prevent off-by-one errors?
by nycdotnet 4y ago
How does Rust prevent off-by-one errors?
- tbillington 4y agoIt can't really.. however the preference for "zero cost" iterators lessens the frequency with which you work with raw indices, so there's less opportunity to bungle things.
- deleted 4y ago[deleted]
- deleted 4y ago[deleted]
- stjohnswarts 4y agoHas rust ever claimed to fix logic errors?
- nycdotnet 4y agoThe linked page makes that specific claim.