Skip to content

Commit bfcead2

Browse files
matttaciidgh
authored andcommitted
Add conformance to Hashable
1 parent 212bfd0 commit bfcead2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/PlayingCard/PlayingCard.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
See http://swift.org/CONTRIBUTORS.txt for Swift project authors
99
*/
1010

11-
public struct PlayingCard: Equatable {
11+
public struct PlayingCard: Equatable, Hashable {
1212
public let rank: Rank
1313
public let suit: Suit
1414

0 commit comments

Comments
 (0)