more grammar fixes

This commit is contained in:
Ilya Rezvov
2021-04-04 17:23:43 -07:00
parent d01691338f
commit 4fb4da0f2f
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