improve comments

This commit is contained in:
François Mockers 2018-11-06 01:17:36 +01:00 committed by François Mockers
parent fa6477012d
commit 47d6d171dc
1 changed files with 3 additions and 2 deletions

View File

@ -18,7 +18,8 @@ use httpmessage::{HttpMessage, MessageBody, UrlEncoded};
use httprequest::HttpRequest; use httprequest::HttpRequest;
#[derive(PartialEq, Eq, PartialOrd, Ord)] #[derive(PartialEq, Eq, PartialOrd, Ord)]
/// Extract typed information from the request's path. /// Extract typed information from the request's path. Information from the path is
/// URL decoded. Decoding of special characters can be disabled through `PathConfig`.
/// ///
/// ## Example /// ## Example
/// ///
@ -161,7 +162,7 @@ impl<S> PathConfig<S> {
self self
} }
/// Disable decoding /// Disable decoding of URL encoded special charaters from the path
pub fn disable_decoding(&mut self) -> &mut Self pub fn disable_decoding(&mut self) -> &mut Self
{ {
self.decode = false; self.decode = false;