Passing a single style to route!(g, ...) with a CompoundRouteRule doesn't correctly end up giving routing methods a vector of styles, and passing a vector of styles doesn't call a valid RouteComponent constructor. The documentation is also not very detailed and doesn't specify the use of waydirs or the optional use of a style vector.
Passing a single style to
route!(g, ...)with a CompoundRouteRule doesn't correctly end up giving routing methods a vector of styles, and passing a vector of styles doesn't call a valid RouteComponent constructor. The documentation is also not very detailed and doesn't specify the use ofwaydirsor the optional use of a style vector.