Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tarkah committed Jun 27, 2023
1 parent c16f75d commit 2cce9d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/src/history/manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
}
Expand Down

0 comments on commit 2cce9d3

Please sign in to comment.