We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f162ab commit 05036bfCopy full SHA for 05036bf
1 file changed
Sources/GoodStructs/Version.swift
@@ -269,6 +269,8 @@ public struct VersionParseStrategy: ParseStrategy {
269
public typealias ParseInput = String
270
public typealias ParseOutput = Version
271
272
+ public init() {}
273
+
274
public func parse(_ value: String) throws -> Version {
275
try Version(string: value)
276
}
@@ -283,6 +285,8 @@ public struct VersionFormatStyle: ParseableFormatStyle {
283
285
public typealias FormatInput = Version
284
286
public typealias FormatOutput = String
287
288
289
290
public var parseStrategy: Strategy {
291
Strategy()
292
0 commit comments