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.
1 parent 67c9314 commit 802f752Copy full SHA for 802f752
Sources/DynamicCodable/DynamicCodable.swift
@@ -86,12 +86,14 @@ extension DynamicCodable {
86
/// A convenience case for creating a [float32 case](x-source-tag://DynamicCodable.float32).
87
/// - Parameter float: The float to represent.
88
/// - Returns: DynamicCodable.float32
89
+ /// - Tag: DynamicCodable.float
90
@inlinable
91
public static func float(_ float: Float) -> Self { .float32(float) }
92
93
/// A convenience case for creating a [float64 case](x-source-tag://DynamicCodable.float64).
94
95
/// - Returns: DynamicCodable.float64
96
+ /// - Tag: DynamicCodable.double
97
98
public static func double(_ double: Double) -> Self { .float64(double) }
99
}
0 commit comments