Skip to content

Commit 802f752

Browse files
Added missing Tags for convenience cases
1 parent 67c9314 commit 802f752

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Sources/DynamicCodable/DynamicCodable.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,14 @@ extension DynamicCodable {
8686
/// A convenience case for creating a [float32 case](x-source-tag://DynamicCodable.float32).
8787
/// - Parameter float: The float to represent.
8888
/// - Returns: DynamicCodable.float32
89+
/// - Tag: DynamicCodable.float
8990
@inlinable
9091
public static func float(_ float: Float) -> Self { .float32(float) }
9192

9293
/// A convenience case for creating a [float64 case](x-source-tag://DynamicCodable.float64).
9394
/// - Parameter float: The float to represent.
9495
/// - Returns: DynamicCodable.float64
96+
/// - Tag: DynamicCodable.double
9597
@inlinable
9698
public static func double(_ double: Double) -> Self { .float64(double) }
9799
}

0 commit comments

Comments
 (0)