Skip to content

Commit 188cb7a

Browse files
committed
Fix docs (#975)
* Fix docs Fixes #974. * Update ci.yml
1 parent 2fe894f commit 188cb7a

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
xcode:
1717
- '12.4'
1818
- '12.5.1'
19-
- '13.2'
19+
- '13.2.1'
2020
steps:
2121
- uses: actions/checkout@v2
2222
- name: Select Xcode ${{ matrix.xcode }}
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
matrix:
3636
xcode:
37-
- '13.2'
37+
- '13.2.1'
3838
steps:
3939
- uses: actions/checkout@v2
4040
- name: Select Xcode ${{ matrix.xcode }}

Sources/ComposableArchitecture/Effect.swift

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extension Effect {
2929
.deferred { () -> SignalProducer<Value, Error> in
3030
work()
3131
return .empty
32-
}
32+
}
3333
}
3434

3535
/// Concatenates a variadic list of effects together into a single effect, which runs the effects
@@ -111,7 +111,7 @@ extension Effect {
111111
observer.send(error: error)
112112
}
113113
}
114-
}
114+
}
115115
}
116116

117117
/// Initializes an effect that lazily executes some work in the real world and synchronously sends
@@ -142,7 +142,7 @@ extension Effect {
142142
public static func result(_ attemptToFulfill: @escaping () -> Result<Value, Error>) -> Self {
143143
Effect { () -> Result<Value, Error> in
144144
attemptToFulfill()
145-
}
145+
}
146146
}
147147

148148
/// Turns any `SignalProducer` into an ``Effect`` that cannot fail by wrapping its output and failure in
@@ -167,7 +167,8 @@ extension Effect {
167167
/// Turns any `SignalProducer` into an ``Effect`` that cannot fail by wrapping its output and failure into
168168
/// result and then applying passed in function to it.
169169
///
170-
/// This is a convenience operator for writing `catchToEffect()` followed by a `map()` .
170+
/// This is a convenience operator for writing ``Effect/catchToEffect()`` followed by a
171+
/// ``Effect/map(_:)``.
171172
///
172173
/// ```swift
173174
/// case .buttonTapped:

0 commit comments

Comments
 (0)