Skip to content

Commit b7363fc

Browse files
rakuyoMowinddpan
authored andcommitted
adding Hashable to Codec
1 parent c3ab4f6 commit b7363fc

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Sources/CodableWrapper/Codec.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,7 @@ extension Codec: CustomStringConvertible, CustomDebugStringConvertible {
5151
"\(wrappedValue)"
5252
}
5353
}
54+
55+
extension Codec: Equatable where Value: Equatable { }
56+
57+
extension Codec: Hashable where Value: Hashable { }

0 commit comments

Comments
 (0)