From d6beafaa766b647eaf83ace5e9ffe96c6bd6525b Mon Sep 17 00:00:00 2001 From: Mateusz Poliwczak Date: Mon, 29 Jul 2024 17:22:52 +0200 Subject: [PATCH] named argument Change-Id: I5bd7364a71cf0293c9c3b06de6e85632c4aa4a43 --- src/encoding/encoding.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/encoding/encoding.go b/src/encoding/encoding.go index 8f7bbe0b9c..1e7456c0f1 100644 --- a/src/encoding/encoding.go +++ b/src/encoding/encoding.go @@ -44,7 +44,7 @@ type BinaryAppender interface { // (allocating a larger slice if necessary) and returns the updated slice. // // Implementations must not retain b, nor mutate any bytes within b[:len(b)]. - AppendBinary([]byte) ([]byte, error) + AppendBinary(b []byte) ([]byte, error) } // TextMarshaler is the interface implemented by an object that can