From a54c548bf00f881f36d2adc3a6a2614b5f72f9ce Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 26 Aug 2025 02:23:55 -0400 Subject: Allow callers to pass `Instant`s to `Sequence` predicate constructors. --- src/conversation/history.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/conversation/history.rs') diff --git a/src/conversation/history.rs b/src/conversation/history.rs index 746a1b0..8821277 100644 --- a/src/conversation/history.rs +++ b/src/conversation/history.rs @@ -30,9 +30,7 @@ impl History { where S: Into, { - self.events() - .filter(Sequence::up_to(sequence.into())) - .collect() + self.events().filter(Sequence::up_to(sequence)).collect() } // Snapshot of this conversation as of all events recorded in this history. -- cgit v1.2.3