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 a7127b4 commit 4585260Copy full SHA for 4585260
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