more grammar fixes

This commit is contained in:
Ilya Rezvov
2021-03-04 22:04:56 -08:00
parent 89df0e43d6
commit 40291c35f0
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