Skip to content

Commit

Permalink
Fixed warning for HashableWrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson12 committed Sep 4, 2024
1 parent 7d06033 commit c577923
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public extension ObservableValue {
set { set.rawValue(value)(newValue) }
}

private struct HashableWrapper<Value>: Hashable {
let rawValue: Value
private struct HashableWrapper<WrappedValue>: Hashable {
let rawValue: WrappedValue
static func == (lhs: Self, rhs: Self) -> Bool { false }
func hash(into hasher: inout Hasher) {}
}
Expand Down

0 comments on commit c577923

Please sign in to comment.