Skip to main content

normalize_route

Function normalize_route 

Source
pub fn normalize_route(input: &str) -> String
Expand description

Normalizes repeated slashes and removes trailing slashes except for the root route.