diff --git a/metainfo/nodes.go b/metainfo/nodes.go index 58504d92..ae7fdbb8 100644 --- a/metainfo/nodes.go +++ b/metainfo/nodes.go @@ -11,7 +11,7 @@ import ( type Node string var ( - _ bencode.Unmarshaler = new(Node) + _ bencode.Unmarshaler = (*Node)(nil) ) func (n *Node) UnmarshalBencode(b []byte) (err error) {