Add code to render text, refactor render into OOPish

This commit is contained in:
2026-04-19 20:18:17 +01:00
parent e28d4fdb22
commit dc0581c8cc
4 changed files with 61 additions and 38 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ use std::{
};
use crate::gtfs::{loader::load_gtfs, structs::{Arrival, Gtfs, Preferences}};
pub fn _get_next_stops(_gtfs: &Gtfs) -> Vec<Arrival> {
pub fn _get_next_stops(_gtfs: &Gtfs) -> Vec<Arrival<'_>> {
let arrivals = Vec::<Arrival>::new();
return arrivals;