Display the arrival time correctly
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
use std::collections::HashSet;
|
||||
use crate::gtfs::Gtfs;
|
||||
|
||||
pub fn stop_ids_from_codes(gtfs: &Gtfs, stop_codes: &HashSet<String>) -> HashSet<String> {
|
||||
pub(crate) fn stop_ids_from_codes(gtfs: &Gtfs, stop_codes: &HashSet<String>) -> HashSet<String> {
|
||||
let mut ids: HashSet<String> = HashSet::new();
|
||||
|
||||
for stop in >fs.stops {
|
||||
@@ -13,7 +13,7 @@ pub fn stop_ids_from_codes(gtfs: &Gtfs, stop_codes: &HashSet<String>) -> HashSet
|
||||
return ids;
|
||||
}
|
||||
|
||||
pub fn route_ids_from_numbers(gtfs: &Gtfs, route_numbers: &HashSet<String>) -> HashSet<String> {
|
||||
pub(crate) fn route_ids_from_numbers(gtfs: &Gtfs, route_numbers: &HashSet<String>) -> HashSet<String> {
|
||||
let mut ids: HashSet<String> = HashSet::new();
|
||||
|
||||
for route in >fs.routes {
|
||||
|
||||
Reference in New Issue
Block a user