Skip to content

Commit 09dba0c

Browse files
committed
Use backtick quotes consistently in documentation comments
1 parent 800c280 commit 09dba0c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Sources/Action.swift

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ public final class Action<Input, Output, Error: Swift.Error> {
104104
}
105105

106106
/// Initializes an action that will be conditionally enabled, and creates a
107-
/// SignalProducer for each input.
107+
/// `SignalProducer` for each input.
108108
///
109109
/// - parameters:
110110
/// - enabledIf: Boolean property that shows whether the action is
@@ -261,15 +261,15 @@ extension Action: ActionProtocol {
261261
}
262262

263263
extension ActionProtocol where Input == Void {
264-
/// Initializes an action that uses an optional property for its input,
265-
/// and is disabled whenever the input is nil. When executed, a SignalProducer
264+
/// Initializes an action that uses an `Optional` property for its input,
265+
/// and is disabled whenever the input is `nil`. When executed, a `SignalProducer`
266266
/// is created with the current value of the input.
267267
///
268268
/// - parameters:
269-
/// - input: An Optional property whose current value is used as input
269+
/// - input: An `Optional` property whose current value is used as input
270270
/// whenever the action is executed. The action is disabled
271-
/// whenever the value is nil.
272-
/// - execute: A closure to return a new SignalProducer based on the
271+
/// whenever the value is `nil`.
272+
/// - execute: A closure to return a new `SignalProducer` based on the
273273
/// current value of `input`.
274274
public init<P: PropertyProtocol, T>(input: P, _ execute: @escaping (T) -> SignalProducer<Output, Error>) where P.Value == T? {
275275
self.init(state: input, enabledIf: { $0 != nil }) { input, _ in
@@ -278,12 +278,12 @@ extension ActionProtocol where Input == Void {
278278
}
279279

280280
/// Initializes an action that uses a property for its input. When executed,
281-
/// a SignalProducer is created with the current value of the input.
281+
/// a `SignalProducer` is created with the current value of the input.
282282
///
283283
/// - parameters:
284284
/// - input: A property whose current value is used as input
285285
/// whenever the action is executed.
286-
/// - execute: A closure to return a new SignalProducer based on the
286+
/// - execute: A closure to return a new `SignalProducer` based on the
287287
/// current value of `input`.
288288
public init<P: PropertyProtocol, T>(input: P, _ execute: @escaping (T) -> SignalProducer<Output, Error>) where P.Value == T {
289289
self.init(input: input.map(Optional.some), execute)

0 commit comments

Comments
 (0)