Skip to content

Commit

Permalink
turn iter ref to &
Browse files Browse the repository at this point in the history
  • Loading branch information
kylerchin committed Nov 25, 2024
1 parent b6bdff4 commit 7c4f6a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/aspen/import_alpenrose.rs
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ pub async fn new_rt_data(
.filter(catenary::schema::gtfs::trips_compressed::dsl::chateau.eq(&chateau_id))
.filter(
catenary::schema::gtfs::trips_compressed::dsl::trip_id
.eq_any(trip_ids_to_lookup_to_hit.iter()),
.eq_any(&trip_ids_to_lookup_to_hit),
)
.load::<catenary::models::CompressedTrip>(conn)
.await?;
Expand Down Expand Up @@ -408,7 +408,7 @@ pub async fn new_rt_data(
)
.filter(
catenary::schema::gtfs::itinerary_pattern_meta::dsl::itinerary_pattern_id
.eq_any(list_of_itinerary_patterns_to_lookup.iter()),
.eq_any(&list_of_itinerary_patterns_to_lookup),
)
.select(catenary::models::ItineraryPatternMeta::as_select())
.load::<catenary::models::ItineraryPatternMeta>(conn)
Expand Down

0 comments on commit 7c4f6a9

Please sign in to comment.