Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
ten3roberts committed Oct 15, 2023
1 parent 1485751 commit a787f5f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/fetch/source.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,12 +230,12 @@ where
unsafe fn filter_slots(&mut self, slots: crate::archetype::Slice) -> crate::archetype::Slice {
if let Some(slot) = self.slot {
if self.fetch.filter_slots(Slice::single(slot)).is_empty() {
return Slice::new(slots.end, slots.end);
Slice::new(slots.end, slots.end)
} else {
return slots;
slots
}
} else {
return self.fetch.filter_slots(slots);
self.fetch.filter_slots(slots)
}
}

Expand Down

0 comments on commit a787f5f

Please sign in to comment.