Skip to content

Commit

Permalink
update import
Browse files Browse the repository at this point in the history
  • Loading branch information
gaetbout committed Aug 5, 2024
1 parent 7f506ec commit e695ad5
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions packages/data_structures/src/byte_reader.cairo
Original file line number Diff line number Diff line change
@@ -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)]
Expand Down Expand Up @@ -172,11 +173,7 @@ pub trait ByteReader<T> {

// use core::ops::index::IndexView;
impl ByteReaderImpl<
T,
+Drop<T>,
+Len<T>,
impl IndexViewImpl: core::ops::index::IndexView<T, usize>,
+Into<IndexViewImpl::Target, @u8>
T, +Drop<T>, +Len<T>, impl IndexViewImpl: IndexView<T, usize>, +Into<IndexViewImpl::Target, @u8>
> of ByteReader<T> {
#[inline]
fn reader(self: @T) -> ByteReaderState<T> {
Expand Down

0 comments on commit e695ad5

Please sign in to comment.