Skip to content

Commit

Permalink
Fixed warning for HashableWrapper (#300)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjohnson12 authored Sep 4, 2024
1 parent 7d06033 commit 4a48610
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 4a48610

Please sign in to comment.