diff --git a/bencode/bytes.go b/bencode/bytes.go index b196963b..5e1018e4 100644 --- a/bencode/bytes.go +++ b/bencode/bytes.go @@ -3,8 +3,8 @@ package bencode type Bytes []byte var ( - _ Unmarshaler = &Bytes{} - _ Marshaler = &Bytes{} + _ Unmarshaler = (*Bytes)(nil) + _ Marshaler = (*Bytes)(nil) _ Marshaler = Bytes{} )