From d9853b25aaaad58ac7d41d7ccc94a9c4ee8b4559 Mon Sep 17 00:00:00 2001 From: Nicholas Novak Date: Thu, 11 Nov 2021 16:12:49 -0700 Subject: [PATCH] Changed the packet Ary error message --- net/packet/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/packet/util.go b/net/packet/util.go index 7fa0da8..aa69e56 100644 --- a/net/packet/util.go +++ b/net/packet/util.go @@ -62,7 +62,7 @@ func (a Ary) ReadFrom(r io.Reader) (n int64, err error) { array = array.Elem() } if !array.CanAddr() { - panic(errors.New("the contents of the array are not addressable")) + panic(errors.New("the contents of the Ary are not addressable")) } if array.Cap() < length { array.Set(reflect.MakeSlice(array.Type(), length, length))