We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Version
LosslessStringConvertible
1 parent 3e21f97 commit a5fa2d2Copy full SHA for a5fa2d2
Sources/PackageDescription/Version+StringLiteralConvertible.swift
@@ -57,7 +57,9 @@ extension Version {
57
prereleaseIdentifiers = version.prereleaseIdentifiers
58
buildMetadataIdentifiers = version.buildMetadataIdentifiers
59
}
60
+}
61
62
+extension Version: LosslessStringConvertible {
63
/// Initializes a version struct with the provided version string.
64
/// - Parameter version: A version string to use for creating a new version struct.
65
public init?(_ versionString: String) {
0 commit comments