Skip to content

Commit df5ad65

Browse files
authored
Merge pull request #561 from ahoppen/ahoppen/rename-adjustment
Adjustment because of a property rename in swift-syntax
2 parents 2356675 + b721118 commit df5ad65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftFormatRules/ReturnVoidInsteadOfEmptyTuple.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public final class ReturnVoidInsteadOfEmptyTuple: SyntaxFormatRule {
6969

7070
let input: ClosureSignatureSyntax.Input?
7171
switch node.input {
72-
case .input(let parameterClause)?:
72+
case .parameterClause(let parameterClause)?:
7373
// If the closure input is a complete parameter clause (variables and types), make sure that
7474
// nested function types are also rewritten (for example, `label: (Int -> ()) -> ()` should
7575
// become `label: (Int -> Void) -> Void`).

0 commit comments

Comments
 (0)