Skip to main content

path_segment

Function path_segment 

Source
pub fn path_segment(text: &str) -> String
Expand description

Percent-encode text as one URL path segment: every byte outside the RFC 3986 unreserved set becomes %XX.