Skip to content

Commit 2dfd166

Browse files
[NFC][Gardening] add missing period puctuation in regex's documentation
1 parent 2aeeb99 commit 2dfd166

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PackageLoading/ToolsVersionLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ public class ToolsVersionLoader: ToolsVersionLoaderProtocol {
174174
return (versionSpecifier, splitted.count == 1 ? [] : Array(splitted[1]))
175175
}
176176

177-
/// The regex to match swift tools version specification
177+
/// The regex to match swift tools version specification.
178178
/// - It should start with `//` followed by any amount of _horizontal_ whitespace characters.
179179
/// - Following that it should contain the case insensitive string `swift-tools-version:`.
180180
/// - The text between the above string and `;` or string end becomes the tools version specifier.

0 commit comments

Comments
 (0)