From e79a6007aba22d490755897e860a08e05fe2af03 Mon Sep 17 00:00:00 2001 From: xunilrj Date: Sat, 27 Jul 2024 10:15:39 +0100 Subject: [PATCH] remove abiencode impl for slices, because it cannot be tested --- sway-lib-core/src/codec.sw | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/sway-lib-core/src/codec.sw b/sway-lib-core/src/codec.sw index 59a70ece81c..2b2489b16e8 100644 --- a/sway-lib-core/src/codec.sw +++ b/sway-lib-core/src/codec.sw @@ -697,17 +697,6 @@ impl AbiEncode for raw_slice { } } -impl AbiEncode for &__slice[T] -where - T: AbiEncode, -{ - fn abi_encode(self, buffer: Buffer) -> Buffer { - Buffer { - buffer: __encode_buffer_append(buffer.buffer, self), - } - } -} - impl AbiEncode for [T; 0] where T: AbiEncode,