From e695ad52cf4d50e5f9cca4f804060eb7a7bfdcc2 Mon Sep 17 00:00:00 2001 From: gaetbout Date: Mon, 5 Aug 2024 17:31:21 +0200 Subject: [PATCH] update import --- packages/data_structures/src/byte_reader.cairo | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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 {