From 3a79505a448ccf2e795ffc49d80a5fd27501081b Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 17 Apr 2018 07:51:06 -0700 Subject: [PATCH] update doc string --- src/httprequest.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/httprequest.rs b/src/httprequest.rs index 88ff25495..d33346025 100644 --- a/src/httprequest.rs +++ b/src/httprequest.rs @@ -438,9 +438,9 @@ impl HttpRequest { /// Get a reference to the Params object. /// /// Params is a container for url parameters. - /// Route supports glob patterns: * for a single wildcard segment and :param - /// for matching storing that segment of the request url in the Params - /// object. + /// A variable segment is specified in the form `{identifier}`, + /// where the identifier can be used later in a request handler to + /// access the matched value for that segment. #[inline] pub fn match_info(&self) -> &Params { unsafe { mem::transmute(&self.as_ref().params) }