From 2cce9d3feac0e9971707962288a9fd1cd61b9bbc Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Mon, 26 Jun 2023 20:25:55 -0700 Subject: [PATCH] Fix clippy --- data/src/history/manager.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/src/history/manager.rs b/data/src/history/manager.rs index ba333980d..443e3d400 100644 --- a/data/src/history/manager.rs +++ b/data/src/history/manager.rs @@ -246,7 +246,7 @@ fn with_limit<'a>( collected[length.saturating_sub(n)..length].to_vec() } Some(Limit::Since(timestamp)) => messages - .skip_while(|message| Posix::from(message.received_at) < timestamp) + .skip_while(|message| message.received_at < timestamp) .collect(), None => messages.collect(), }