diff --git a/packages/data_structures/src/byte_reader.cairo b/packages/data_structures/src/byte_reader.cairo index 3ad8a56b..307e0d52 100644 --- a/packages/data_structures/src/byte_reader.cairo +++ b/packages/data_structures/src/byte_reader.cairo @@ -1,4 +1,5 @@ use core::integer::u512; +use core::ops::index::IndexView; use super::bit_array::{one_shift_left_bytes_felt252, one_shift_left_bytes_u128}; #[derive(Copy, Clone, Drop)] @@ -172,11 +173,7 @@ pub trait ByteReader { // use core::ops::index::IndexView; impl ByteReaderImpl< - T, - +Drop, - +Len, - impl IndexViewImpl: core::ops::index::IndexView, - +Into + T, +Drop, +Len, impl IndexViewImpl: IndexView, +Into > of ByteReader { #[inline] fn reader(self: @T) -> ByteReaderState {