Add doc(hidden) to all __iterator_get_unchecked

This method on the Iterator trait is doc(hidden), and about half of
implementations were doc(hidden). This adds the attribute to the
remaining implementations.
This commit is contained in:
Jacob Hoffman-Andrews
2021-06-11 22:16:44 -07:00
parent bff4f073c8
commit 910c7fa767
14 changed files with 15 additions and 0 deletions

View File

@@ -132,6 +132,7 @@ impl<T, const N: usize> Iterator for IntoIter<T, N> {
}
#[inline]
#[doc(hidden)]
unsafe fn __iterator_get_unchecked(&mut self, idx: usize) -> Self::Item
where
Self: TrustedRandomAccess,