Skip to content

Commit

Permalink
Make GuitarChord hashable and equatable
Browse files Browse the repository at this point in the history
  • Loading branch information
itsmeichigo committed Jan 26, 2021
1 parent b0d5c37 commit 0112fc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Fretboard/GuitarChord.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

import Foundation

public struct GuitarChord: Decodable {
public struct GuitarChord: Decodable, Hashable, Equatable {
public let key: Key
public let baseFret: Int
public let barres: [Int]
Expand Down

0 comments on commit 0112fc8

Please sign in to comment.