Skip to content

Commit b721118

Browse files
committed
Adjustment because of a property rename in swift-syntax
1 parent 2356675 commit b721118

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)