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 e01054b commit b960b3aCopy full SHA for b960b3a
src/lib.rs
@@ -2089,6 +2089,7 @@ impl<T, const N: usize> SmallVec<[T; N]> {
2089
#[cfg_attr(docsrs, doc(cfg(feature = "const_generics")))]
2090
unsafe impl<T, const N: usize> Array for [T; N] {
2091
type Item = T;
2092
+ #[inline]
2093
fn size() -> usize {
2094
N
2095
}
@@ -2100,6 +2101,7 @@ macro_rules! impl_array(
2100
2101
$(
2102
unsafe impl<T> Array for [T; $size] {
2103
2104
2105
fn size() -> usize { $size }
2106
2107
)+
0 commit comments