diff --git a/packages/data_structures/src/byte_reader.cairo b/packages/data_structures/src/byte_reader.cairo index f73b4469..cc613367 100644 --- a/packages/data_structures/src/byte_reader.cairo +++ b/packages/data_structures/src/byte_reader.cairo @@ -583,13 +583,13 @@ impl ByteArrayIndexViewAsSnapshotImpl of IndexView { // use core::ops::index::IndexView; impl ByteReaderIndexViewImpl< - T, impl TIndexView: IndexView + T, impl TIndexView: core::ops::index::IndexView, +Into > of core::ops::index::IndexView, usize> { type Target = @u8; #[inline(always)] fn index(self: @ByteReaderState, index: usize) -> @u8 { - TIndexView::index(*self.data, index) + @TIndexView::index(*self.data, index).into() } }