diff --git a/src/httprequest.rs b/src/httprequest.rs index 4da687b0..660d172a 100644 --- a/src/httprequest.rs +++ b/src/httprequest.rs @@ -154,7 +154,7 @@ impl HttpRequest { #[inline] /// Construct new http request without state. - pub fn clone_without_state(&self) -> HttpRequest { + pub(crate) fn clone_without_state(&self) -> HttpRequest { HttpRequest(self.0.clone(), None, None) }