Skip to content

Commit 4da98fd

Browse files
authored
Apply suggestions from code review
1 parent 38f9fba commit 4da98fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

Utilities/Sources/WasmGen.swift

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -258,9 +258,7 @@ enum WasmGen {
258258
code += " }\n"
259259
}
260260

261-
code += """
262-
}
263-
"""
261+
code += "}"
264262

265263
return code
266264
}
@@ -536,6 +534,7 @@ enum WasmGen {
536534
/// Claim the next byte to be decoded
537535
@inlinable func claimNextByte() throws -> UInt8
538536
537+
/// Throw an error due to unknown opcode.
539538
func throwUnknown(_ opcode: [UInt8]) throws -> Never
540539
541540
"""

0 commit comments

Comments
 (0)