From fa2a3bc55edde9ac315dd8a6ac0d77c12a986bb1 Mon Sep 17 00:00:00 2001 From: Nikolay Kim Date: Tue, 19 Dec 2017 13:11:19 -0800 Subject: [PATCH] make method private --- src/httprequest.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httprequest.rs b/src/httprequest.rs index 4da687b0b..660d172a1 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) }