Skip to content

Commit 3caaba5

Browse files
stephencelisgithub-actions[bot]
authored andcommitted
Run swift-format
1 parent 4167b3c commit 3caaba5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Sources/ComposableArchitecture/SharedState/Shared.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ extension Shared {
353353
keyPath: self.keyPath.appending(path: keyPath)!
354354
)
355355
}
356-
356+
357357
/// Constructs a read-only version of the shared value.
358358
public var reader: SharedReader<Value> {
359359
SharedReader(reference: self.reference, keyPath: self.keyPath)

Sources/ComposableArchitecture/SharedState/SharedReader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public struct SharedReader<Value> {
3737
public init(_ base: Shared<Value>) {
3838
self = base.reader
3939
}
40-
40+
4141
/// Constructs a read-only shared value that remains constant.
4242
///
4343
/// This can be useful for providing ``SharedReader`` values to features in previews and tests:

0 commit comments

Comments
 (0)