Skip to content

Commit

Permalink
remove abiencode impl for slices, because it cannot be tested
Browse files Browse the repository at this point in the history
  • Loading branch information
xunilrj committed Jul 27, 2024
1 parent 2a3a934 commit e79a600
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sway-lib-core/src/codec.sw
Original file line number Diff line number Diff line change
Expand Up @@ -697,17 +697,6 @@ impl AbiEncode for raw_slice {
}
}

impl<T> AbiEncode for &__slice[T]
where
T: AbiEncode,
{
fn abi_encode(self, buffer: Buffer) -> Buffer {
Buffer {
buffer: __encode_buffer_append(buffer.buffer, self),
}
}
}

impl<T> AbiEncode for [T; 0]
where
T: AbiEncode,
Expand Down

0 comments on commit e79a600

Please sign in to comment.