Closed michaelkirk closed 3 weeks ago
CHANGES.md
unchecked implies it's an unsafe method, like Vec::get_unsafe. It's how we use the term elsewhere in this api, e.g. see this discussion https://github.com/georust/geojson/pull/245#discussion_r1821255299
unchecked
Vec::get_unsafe
I also cleaned up some stale docs.
I opted not to add foo_or_panic methods to the various collections in this PR, as it seemed like a slightly different issue that could be followed up separately.
foo_or_panic
I've restored nth_unchecked, marked it unsafe and by default it just calls nth_or_panic.
nth_unchecked
unsafe
nth_or_panic
Please take another look.
[x] I added an entry to
CHANGES.md
if knowledge of this change could be valuable to users.unchecked
implies it's an unsafe method, likeVec::get_unsafe
. It's how we use the term elsewhere in this api, e.g. see this discussion https://github.com/georust/geojson/pull/245#discussion_r1821255299I also cleaned up some stale docs.
I opted not to add
foo_or_panic
methods to the various collections in this PR, as it seemed like a slightly different issue that could be followed up separately.