]> git.proxmox.com Git - rustc.git/blobdiff - library/core/src/slice/iter/macros.rs
New upstream version 1.62.1+dfsg1
[rustc.git] / library / core / src / slice / iter / macros.rs
index b74ab28fc092a9599e276016d4af985f3e184f2d..c05242222dde7e54c1b4b5477a2efb397073593b 100644 (file)
@@ -325,7 +325,7 @@ macro_rules! iterator {
                 None
             }
 
-            #[doc(hidden)]
+            #[inline]
             unsafe fn __iterator_get_unchecked(&mut self, idx: usize) -> Self::Item {
                 // SAFETY: the caller must guarantee that `i` is in bounds of
                 // the underlying slice, so `i` cannot overflow an `isize`, and