Skip to content

Commit

Permalink
Merge pull request #1 from vuln3r/vuln3r-patch-1
Browse files Browse the repository at this point in the history
Update CBOREncodable.swift
  • Loading branch information
vuln3r authored Jul 3, 2024
2 parents cd277e2 + e8ab946 commit b8df25c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/SwiftCBOR/CBOREncodable.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ extension CBOR: CBOREncodable {
case let .boolean(b): return b.encode()
case .null: return CBOR.encodeNull()
case .undefined: return CBOR.encodeUndefined()
case .half(_): return CBOR.undefined.encode()
case let .half(h): return h.encode()
case let .float(f): return f.encode()
case let .double(d): return d.encode()
case .break: return CBOR.encodeBreak()
Expand Down

0 comments on commit b8df25c

Please sign in to comment.