Hacker News new | ask | show | jobs
by steveklabnik 2674 days ago
The difference is in the defaults. In Rust, the easiest and more common thing ([]) is checked, and the more verbose and uncommon thing (get_unchecked) is unchecked. In C++, it's the reverse.