diff options
author | anon5 <anon5clam@protonmail.com> | 2021-06-22 16:30:50 +0000 |
---|---|---|
committer | anon5 <anon5clam@protonmail.com> | 2021-06-22 16:30:50 +0000 |
commit | f967a747e4ae01fba3a6c3fd693d0e753faf3ae4 (patch) | |
tree | 22d628df079bb5cac93cc2338cfbe585ff8a2763 /serialize.fmt | |
parent | 425da65ed46061303604610bb539d6495b2b1f3f (diff) | |
download | mt-f967a747e4ae01fba3a6c3fd693d0e753faf3ae4.tar.xz |
Add String methods to some types using stringer and fix some minor defects
Diffstat (limited to 'serialize.fmt')
-rw-r--r-- | serialize.fmt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/serialize.fmt b/serialize.fmt index c157001..991c22b 100644 --- a/serialize.fmt +++ b/serialize.fmt @@ -128,7 +128,7 @@ map[[3]int16]*NodeMeta { PointedThing chk(writePointedThing(w, x)) -[]AOMsg { // For AOInitData.Msgs +[]AOMsg { // For AOInitData.Msgs. if len(x) > math.MaxUint8 { chk(ErrTooLong) } @@ -145,7 +145,7 @@ PointedThing chk(writePointedThing(w, x)) } } -[]NodeDef { // For ToCltNodeDefs.Defs +[]NodeDef { // For ToCltNodeDefs.Defs. if len(x) > math.MaxUint16 { chk(ErrTooLong) } |