about summary refs log tree commit diff
path: root/library/core/src/array
diff options
context:
space:
mode:
authorJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-06-11 22:16:44 -0700
committerJacob Hoffman-Andrews <github@hoffman-andrews.com>2021-06-16 22:08:44 -0700
commit910c7fa7673b80ead337c5d37259c9ff4dcf355c (patch)
treead207790bba20bf7f07c5a5e15494a57d28412a1 /library/core/src/array
parentbff4f073c8bc09788c5111ef6f7aa2b74e75dc89 (diff)
downloadrust-910c7fa7673b80ead337c5d37259c9ff4dcf355c.tar.gz
rust-910c7fa7673b80ead337c5d37259c9ff4dcf355c.zip
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.
Diffstat (limited to 'library/core/src/array')
-rw-r--r--library/core/src/array/iter.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/core/src/array/iter.rs b/library/core/src/array/iter.rs
index aedbeab6610..931ea77eca4 100644
--- a/library/core/src/array/iter.rs
+++ b/library/core/src/array/iter.rs
@@ -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,