summaryrefslogtreecommitdiffstats
path: root/src/http/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/mod.rs')
-rw-r--r--src/http/mod.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/http/mod.rs b/src/http/mod.rs
index a437978..aea21dc 100644
--- a/src/http/mod.rs
+++ b/src/http/mod.rs
@@ -35,9 +35,6 @@ impl Req {
self.query_pairs.iter().find(|(k, _)| k == key).map(|(_, v)| v.clone())
}
/// Reading a cookie off a request is internal plumbing; the auth tests need it in order to forge one.
- ///
- /// Module-internal in a production build, `pub` only under `test-support`:
- /// one body behind two visibility declarations, exactly one of which compiles.
#[cfg(feature = "test-support")]
pub fn cookie(&self, name: &str) -> Option<String> {
Self::cookie_impl(self, name)