From ec192e0ab13cf1bdbc5fdc23f89151f94d4d07a7 Mon Sep 17 00:00:00 2001
From: Douman <douman@gmx.se>
Date: Sat, 17 Mar 2018 18:10:22 +0300
Subject: [PATCH] Show Request's hidden methods

---
 src/httprequest.rs | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/src/httprequest.rs b/src/httprequest.rs
index f3ba8211..c141590b 100644
--- a/src/httprequest.rs
+++ b/src/httprequest.rs
@@ -203,11 +203,10 @@ impl<S> HttpRequest<S> {
     #[inline]
     pub fn uri(&self) -> &Uri { &self.as_ref().uri }
 
-    #[doc(hidden)]
-    #[inline]
-    /// Modify the Request Uri.
+    /// Returns mutable the Request Uri.
     ///
-    /// This might be useful for middlewares, i.e. path normalization
+    /// This might be useful for middlewares, e.g. path normalization.
+    #[inline]
     pub fn uri_mut(&mut self) -> &mut Uri {
         &mut self.as_mut().uri
     }
@@ -222,7 +221,9 @@ impl<S> HttpRequest<S> {
         self.as_ref().version
     }
 
-    #[doc(hidden)]
+    ///Returns mutable Request's headers.
+    ///
+    ///This is intended to be used by middleware.
     #[inline]
     pub fn headers_mut(&mut self) -> &mut HeaderMap {
         &mut self.as_mut().headers