Skip to content

Commit 177a763

Browse files
matttaciidgh
authored andcommitted
Provide public access to rank and suit properties
1 parent e94642c commit 177a763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/PlayingCard/PlayingCard.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
*/
1010

1111
public struct PlayingCard {
12-
let rank: Rank
13-
let suit: Suit
12+
public let rank: Rank
13+
public let suit: Suit
1414

1515
public init(rank: Rank, suit: Suit) {
1616
self.rank = rank

0 commit comments

Comments
 (0)