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,