From c132517cbdfe5de355f7dcf430476b9f3e6e1478 Mon Sep 17 00:00:00 2001 From: Jacob Fielding Date: Wed, 25 Feb 2026 17:37:19 -0800 Subject: [PATCH] fix: remove equatable requirement for conditional observation --- Sources/ObservationTesting/FulfillmentOfCondition.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Sources/ObservationTesting/FulfillmentOfCondition.swift b/Sources/ObservationTesting/FulfillmentOfCondition.swift index ebf3079..fc4427a 100644 --- a/Sources/ObservationTesting/FulfillmentOfCondition.swift +++ b/Sources/ObservationTesting/FulfillmentOfCondition.swift @@ -5,7 +5,7 @@ // Copyright (c) 2026 Jacob Fielding // -extension AsyncSequence where Self: Sendable, Element: Sendable & Equatable { +extension AsyncSequence where Self: Sendable, Element: Sendable { /// Fulfill a specific condition. /// @@ -32,7 +32,7 @@ extension AsyncSequence where Self: Sendable, Element: Sendable & Equatable { } } -extension AsyncSequence where Self: Sendable, Element: Sendable & Equatable { +extension AsyncSequence where Self: Sendable, Element: Sendable { func processCondition( condition: @Sendable @isolated(any) @escaping (Element?) async throws -> Bool,