Skip to content

Commit bd026ee

Browse files
authored
Merge pull request #8 from jcoupey/master
Fix small CAR/FOOT typo.
2 parents fd186b6 + dd3a5ec commit bd026ee

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)