const generic expr based fixed length array manipulation crate
Diffstat (limited to 'src/slice.rs')
| -rw-r--r-- | src/slice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/slice.rs b/src/slice.rs index e80a2c3..3279999 100644 --- a/src/slice.rs +++ b/src/slice.rs @@ -71,7 +71,7 @@ pub trait Slice<T, const N: usize> { /// Slices the array. /// Compile time checked. /// ``` - /// # #![feature(generic_const_exprs)] + /// # #![feature(generic_const_exprs, const_trait_impl)] /// # use atools::prelude::*; /// let x = atools::range::<5>(); /// assert_eq!(*x.slice::<{ r(2..=4) }>(), [2, 3, 4]); |