pub fn percent_decode_segment(segment: &str) -> StringExpand description
Percent-decode one URI path segment per RFC 3986. + is a literal +
in a path (only application/x-www-form-urlencoded data maps it to a
space). A malformed escape (%zz, a trailing %) is kept verbatim, and
bytes that do not form valid UTF-8 are replaced lossily – decoding never
fails and never panics.