diff --git a/lib/src/request/param.rs b/lib/src/request/param.rs index 7f631660..cbec06f3 100644 --- a/lib/src/request/param.rs +++ b/lib/src/request/param.rs @@ -94,6 +94,12 @@ use http::RawStr; /// decoded string is returned. Otherwise, an `Err` with the original path /// segment is returned. /// +/// * **Cow** +/// +/// Percent decodes the path segment, allocating only when necessary. If the +/// decode is successful, the decoded string is returned. Otherwise, an +/// `Err` with the original path segment is returned. +/// /// * **Option<T>** _where_ **T: FromParam** /// /// _This implementation always returns successfully._