more grammar fixes

This commit is contained in:
Ilya Rezvov
2021-03-16 21:49:02 -07:00
parent 4f0926ca3f
commit 6131babc8e
8 changed files with 84 additions and 83 deletions
+2 -2
View File
@@ -217,8 +217,8 @@ instance Serialize FuncType where
return $ FuncType { params, results }
instance Serialize ElemType where
put AnyFunc = putWord8 0x70
get = byteGuard 0x70 >> return AnyFunc
put FuncRef = putWord8 0x70
get = byteGuard 0x70 >> return FuncRef
instance Serialize Limit where
put (Limit min Nothing) = putWord8 0x00 >> putULEB128 min