From 47d6d171dc27a490ce44f9e6576a8b595ab18d19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Mockers?= Date: Tue, 6 Nov 2018 01:17:36 +0100 Subject: [PATCH] improve comments --- src/extractor.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/extractor.rs b/src/extractor.rs index 4b3fb672a..9bf30cea9 100644 --- a/src/extractor.rs +++ b/src/extractor.rs @@ -18,7 +18,8 @@ use httpmessage::{HttpMessage, MessageBody, UrlEncoded}; use httprequest::HttpRequest; #[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 /// @@ -161,7 +162,7 @@ impl PathConfig { self } - /// Disable decoding + /// Disable decoding of URL encoded special charaters from the path pub fn disable_decoding(&mut self) -> &mut Self { self.decode = false;