Skip to content

Commit

Permalink
get rid of the warning on Timestamps
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianmurariu committed Jun 3, 2024
1 parent e28f473 commit 931ce21
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion raphtory/src/arrow/graph_impl/time_index_into_ops.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ impl<'a> TimeIndexIntoOps for TimeStamps<'a, TimeIndexEntry> {
sec_index.map(|sec_index| sec_index.sliced(start..end)),
)
}
fn into_iter(self) -> impl Iterator<Item = TimeIndexEntry> + 'static {

#[allow(refining_impl_trait)]
fn into_iter(self) -> impl Iterator<Item = TimeIndexEntry> + Send + 'static {
let (timestamps, sec_index) = self.into_inner();
let sec_iter: Box<dyn Iterator<Item = usize> + Send> = sec_index
.map(|v| v.into_owned().map(|i| i as usize).into_dyn_boxed())
Expand Down

0 comments on commit 931ce21

Please sign in to comment.