Skip to content

Commit e8ab946

Browse files
author
Sandin
committed
fix: build
1 parent 35f7cfc commit e8ab946

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/SwiftCBOR/CBOREncodable.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ extension CBOR: CBOREncodable {
2424
case let .boolean(b): return b.encode()
2525
case .null: return CBOR.encodeNull()
2626
case .undefined: return CBOR.encodeUndefined()
27-
case .half(_): return f.encode()
27+
case let .half(h): return h.encode()
2828
case let .float(f): return f.encode()
2929
case let .double(d): return d.encode()
3030
case .break: return CBOR.encodeBreak()

0 commit comments

Comments
 (0)