Skip to content

Commit 21da328

Browse files
committed
remove useless comment
1 parent 227cc5e commit 21da328

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/gtfs.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,6 @@ fn to_stop_collection(
245245
) -> Result<Collection<Stop>, Error> {
246246
let mut stop_map: Collection<Stop> = stops.into_iter().collect();
247247
for transfer in raw_transfers {
248-
// Note: I'm not convinced at all by this Id::must_exists...
249-
// we shouldn't have to allocate here, and we must find a way to really ensure that the id exists (or remove the verbosity)
250248
let to_stop_id = stop_map
251249
.get_id(&transfer.to_stop_id)
252250
.ok_or_else(|| Error::ReferenceError(transfer.to_stop_id.to_string()))?;

0 commit comments

Comments
 (0)