From 8da8838d732381ba91b82c1dc57471d6737f6e37 Mon Sep 17 00:00:00 2001 From: Alex Azarov Date: Mon, 14 Mar 2022 18:01:50 +0100 Subject: [PATCH] Update documentation for road classes. --- Sources/MapboxDirections/RoadClasses.swift | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Sources/MapboxDirections/RoadClasses.swift b/Sources/MapboxDirections/RoadClasses.swift index fc9a71a59..88413dda2 100644 --- a/Sources/MapboxDirections/RoadClasses.swift +++ b/Sources/MapboxDirections/RoadClasses.swift @@ -21,8 +21,6 @@ public struct RoadClasses: OptionSet, CustomStringConvertible { The road segment has access restrictions. A road segment may have this class if there are [general access restrictions](https://wiki.openstreetmap.org/wiki/Key:access) or a [high-occupancy vehicle](https://wiki.openstreetmap.org/wiki/Key:hov) restriction. - - This option can only be used with `RouteOptions.roadClassesToAvoid`. */ public static let restricted = RoadClasses(rawValue: 1 << 2) @@ -48,8 +46,6 @@ public struct RoadClasses: OptionSet, CustomStringConvertible { /** The user must travel this segment of the route through a [tunnel](https://wiki.openstreetmap.org/wiki/Key:tunnel). - - This option can only be used with `RouteOptions.roadClassesToAvoid`. */ public static let tunnel = RoadClasses(rawValue: 1 << 5)