Made GFS code into an ADT

This commit is contained in:
2026-04-21 08:32:49 +01:00
parent 4d527a9ada
commit 707aecdba7
5 changed files with 48 additions and 42 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
use std::collections::HashSet;
use crate::gtfs::structs::Gtfs;
use crate::gtfs::Gtfs;
pub fn stop_ids_from_codes(gtfs: &Gtfs, stop_codes: &HashSet<String>) -> HashSet<String> {
let mut ids: HashSet<String> = HashSet::new();