rust-transit / gtfs-structure

Read a GTFS file
MIT License
56 stars 32 forks source link

Make Gtfs::from_path to accept non-displayable path #161

Closed Jusduil closed 6 months ago

Jusduil commented 6 months ago

Gtfs::from_path have where clause to force argument to implement Display.

But not called function are really want this.

It may be a relic to build a error string on RawGtfsReader::read_from_path but now it use p.display()

Tristramg commented 6 months ago

Thank you. Funny enough, I just stumbled on that exact problem right now