Skip to content

Commit c9131f4

Browse files
Update Configuration.swift
1 parent 14ba745 commit c9131f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/SwiftFormat/API/Configuration.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,12 +122,12 @@ public struct Configuration: Codable, Equatable {
122122
public var lineBreakBetweenDeclarationAttributes: Bool
123123

124124
/// Determines if function-like declaration outputs should be prioritized to be together with the
125-
/// function signature right (closing) parenthesis.
125+
/// function signature's right (closing) parenthesis.
126126
///
127127
/// If false (the default), function output (i.e. throws, return type) is not prioritized to be
128128
/// together with the signature's right parenthesis, and when the line length would be exceeded,
129129
/// a line break will be fired after the function signature first, indenting the declaration output
130-
/// one additional level. If true, A line break will be fired further up in the function's
130+
/// one additional level. If true, a line break will be fired further up in the function's
131131
/// declaration (e.g. generic parameters, parameters) before breaking on the function's output.
132132
public var prioritizeKeepingFunctionOutputTogether: Bool
133133

@@ -211,7 +211,7 @@ public struct Configuration: Codable, Equatable {
211211
/// will be formatted as:
212212
/// ```swift
213213
/// """
214-
/// an esacpe\
214+
/// an escape\
215215
/// line break
216216
/// a hard \
217217
/// line break

0 commit comments

Comments
 (0)