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 96abbb3 commit 9205f8fCopy full SHA for 9205f8f
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