Skip to content

Commit e982bac

Browse files
committed
Adds @_spi to RuleGenerator, and improves broken rule warnings.
1 parent 8ed627e commit e982bac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/swift-format/Utilities/Diagnostic.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ struct Diagnostic {
4848
self.column = findingLocation.column
4949
}
5050

51+
/// Creates a new `Location` with provided file, line, and column indices.
5152
init(file: String, line: Int, column: Int) {
5253
self.file = file
5354
self.line = line

0 commit comments

Comments
 (0)