Skip to content

Commit

Permalink
Remove unused line in bool decoding
Browse files Browse the repository at this point in the history
  • Loading branch information
christophhagen committed Apr 4, 2024
1 parent e433bb0 commit 0b9ceaa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion Sources/BinaryCodable/Primitives/Bool+Coding.swift
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,5 @@ extension Bool: DecodablePrimitive {
default:
throw CorruptedDataError(invalidBoolByte: byte)
}
self = data[data.startIndex] > 0
}
}

0 comments on commit 0b9ceaa

Please sign in to comment.