pub(super) unsafe fn try_get_unchecked<I>(it: &mut I, idx: usize) -> I::Itemwhere
I: Iterator,
Expand description
Like Iterator::__iterator_get_unchecked
, but doesn’t require the compiler to
know that U: TrustedRandomAccess
.
Safety
Same requirements calling get_unchecked
directly.