Skip to content

Commit a0fa3a7

Browse files
mbrandonwmluisbrown
authored andcommitted
Change initialThread to a let. (#778)
1 parent d080493 commit a0fa3a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ComposableArchitecture/Store.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public final class Store<State, Action> {
130130
private let reducer: (inout State, Action) -> Effect<Action, Never>
131131
private var bufferedActions: [Action] = []
132132
#if DEBUG
133-
private var initialThread = Thread.current
133+
private let initialThread = Thread.current
134134
#endif
135135

136136
/// Initializes a store from an initial state, a reducer, and an environment.

0 commit comments

Comments
 (0)