Skip to content

Commit dd3a5ec

Browse files
committed
Fix small CAR/FOOT typo.
1 parent fd186b6 commit dd3a5ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/osm4routing/categorize.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ impl EdgeProperties {
123123
}
124124
"motorway" | "motorway_link" => {
125125
self.car_forward = CAR_MOTORWAY;
126-
self.foot = CAR_FORBIDDEN;
126+
self.foot = FOOT_FORBIDDEN;
127127
self.bike_forward = BIKE_FORBIDDEN;
128128
}
129129
"trunk" | "trunk_link" => {
130130
self.car_forward = CAR_TRUNK;
131-
self.foot = CAR_FORBIDDEN;
131+
self.foot = FOOT_FORBIDDEN;
132132
self.bike_forward = BIKE_FORBIDDEN;
133133
}
134134
_ => {}

0 commit comments

Comments
 (0)