Skip to content

Commit c6a99f8

Browse files
committed
Clean up formatting
1 parent f702339 commit c6a99f8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

Sources/WasmParser/BinaryInstructionDecoder.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,10 @@ protocol BinaryInstructionDecoder {
9090
}
9191

9292
@inlinable
93-
func parseBinaryInstruction(visitor: inout some InstructionVisitor & ~Copyable, decoder: inout some BinaryInstructionDecoder) throws -> Bool {
93+
func parseBinaryInstruction(
94+
visitor: inout some InstructionVisitor & ~Copyable,
95+
decoder: inout some BinaryInstructionDecoder
96+
) throws -> Bool {
9497
let opcode0 = try decoder.claimNextByte()
9598
switch opcode0 {
9699
case 0x00:

Utilities/Sources/WasmGen.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,10 @@ enum WasmGen {
561561
code += """
562562
563563
@inlinable
564-
func parseBinaryInstruction(visitor: inout some InstructionVisitor & ~Copyable, decoder: inout some BinaryInstructionDecoder) throws -> Bool {
564+
func parseBinaryInstruction(
565+
visitor: inout some InstructionVisitor & ~Copyable,
566+
decoder: inout some BinaryInstructionDecoder
567+
) throws -> Bool {
565568
"""
566569

567570
func renderSwitchCase(_ root: Trie, depth: Int = 0) {

0 commit comments

Comments
 (0)