Skip to content

Commit 9783b58

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent e4e3028 commit 9783b58

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Sources/DependenciesMacrosPlugin/DependencyEndpointMacro.swift

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,11 @@ public enum DependencyEndpointMacro: AccessorMacro, PeerMacro {
160160
parameters[i].secondName = TokenSyntax(stringLiteral: "p\(offset)")
161161
parameters[i].colon = parameters[i].colon ?? .colonToken(trailingTrivia: .space)
162162
}
163-
let appliedParameters = parameters
163+
let appliedParameters =
164+
parameters
164165
.map {
165-
guard let typed = $0.type.as(AttributedTypeSyntax.self), typed.specifier?.tokenKind == .keyword(.inout)
166+
guard let typed = $0.type.as(AttributedTypeSyntax.self),
167+
typed.specifier?.tokenKind == .keyword(.inout)
166168
else { return false }
167169
return true
168170
}

0 commit comments

Comments
 (0)