Skip to main content

matches_route_pattern

Function matches_route_pattern 

Source
pub fn matches_route_pattern(pattern: &str, path: &str) -> bool
Expand description

Returns true when a simple :param pattern matches the path.