Skip to content

Commit

Permalink
Make RangeMutation conform to Hashable
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Mar 20, 2022
1 parent 9faf1d7 commit c3f6b51
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/Rearrange/RangeMutation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ public struct RangeMutation {
}
}

extension RangeMutation: Hashable {
}

extension RangeMutation {
public func transform(location: Int) -> Int? {
if let l = presetLimit {
Expand Down

0 comments on commit c3f6b51

Please sign in to comment.