We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d1ede6 commit e355c9eCopy full SHA for e355c9e
src/array.rs
@@ -77,10 +77,13 @@ macro_rules! fix_array_impl {
77
unsafe impl<T> Array for [T; $len] {
78
type Item = T;
79
type Index = $index_type;
80
+ #[doc(hidden)]
81
#[inline(always)]
82
fn as_ptr(&self) -> *const T { self as *const _ as *const _ }
83
84
85
fn as_mut_ptr(&mut self) -> *mut T { self as *mut _ as *mut _}
86
87
88
fn capacity() -> usize { $len }
89
}
0 commit comments