Skip to content

Commit 0112fc8

Browse files
committed
Make GuitarChord hashable and equatable
1 parent b0d5c37 commit 0112fc8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/Fretboard/GuitarChord.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
import Foundation
99

10-
public struct GuitarChord: Decodable {
10+
public struct GuitarChord: Decodable, Hashable, Equatable {
1111
public let key: Key
1212
public let baseFret: Int
1313
public let barres: [Int]

0 commit comments

Comments
 (0)