Skip to content

Commit fd49eb2

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent c373d8e commit fd49eb2

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

Sources/ComposableArchitectureMacros/ObservableStateMacro.swift

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -431,12 +431,10 @@ extension ObservableStateMacro: ExtensionMacro {
431431
}
432432

433433
return [
434-
(
435-
"""
434+
("""
436435
extension \(raw: type.trimmedDescription): \(raw: qualifiedConformanceName), \
437436
Observation.Observable {}
438-
""" as DeclSyntax
439-
)
437+
""" as DeclSyntax)
440438
.cast(ExtensionDeclSyntax.self)
441439
]
442440
}

Tests/ComposableArchitectureTests/ObserveTests.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@
3333
}
3434
}
3535

36-
@Perceptible
37-
class Model {
38-
var count = 0
39-
}
36+
@Perceptible
37+
class Model {
38+
var count = 0
39+
}
4040

4141
#endif
42-

0 commit comments

Comments
 (0)