diff --git a/Sources/OpenGraph/Attribute/Rule/AnyRuleContext.swift b/Sources/OpenGraph/Attribute/Rule/AnyRuleContext.swift index 28063401..89139182 100644 --- a/Sources/OpenGraph/Attribute/Rule/AnyRuleContext.swift +++ b/Sources/OpenGraph/Attribute/Rule/AnyRuleContext.swift @@ -8,7 +8,7 @@ public import OpenGraph_SPI @frozen -public struct AnyRuleContext { +public struct AnyRuleContext: Equatable { public var attribute: AnyAttribute public init(attribute: AnyAttribute) { diff --git a/Sources/OpenGraph/Attribute/Rule/RuleContext.swift b/Sources/OpenGraph/Attribute/Rule/RuleContext.swift index 3c37dac1..cee5d6a9 100644 --- a/Sources/OpenGraph/Attribute/Rule/RuleContext.swift +++ b/Sources/OpenGraph/Attribute/Rule/RuleContext.swift @@ -8,7 +8,7 @@ public import OpenGraph_SPI @frozen -public struct RuleContext { +public struct RuleContext: Equatable { public var attribute: Attribute public init(attribute: Attribute) {