diff --git a/src/gtfs_reader.rs b/src/gtfs_reader.rs index 5f77b1f..11a3e29 100644 --- a/src/gtfs_reader.rs +++ b/src/gtfs_reader.rs @@ -99,7 +99,7 @@ impl GtfsReader { /// Reads the raw GTFS from a local zip archive or local directory pub fn read_from_path

(self, path: P) -> Result where - P: AsRef + std::fmt::Display, + P: AsRef, { self.raw().read_from_path(path).and_then(Gtfs::try_from) }