2
0
Fork 0
mirror of https://git.asonix.dog/asonix/pict-rs synced 2024-12-22 11:21:24 +00:00

clippy nit

This commit is contained in:
asonix 2023-08-29 13:29:40 -05:00
parent c0f6b1e988
commit 08fd96c2f7

View file

@ -1120,7 +1120,7 @@ impl HashRepo for SledRepo {
) -> Result<HashPage, RepoError> {
let date_nanos = date.unix_timestamp_nanos().to_be_bytes();
let page_iter = self.hashes_inverse.range(..=date_nanos.clone());
let page_iter = self.hashes_inverse.range(..=date_nanos);
let prev_iter = Some(self.hashes_inverse.range(date_nanos..));
actix_rt::task::spawn_blocking(move || {