make method private

This commit is contained in:
Nikolay Kim 2017-12-19 13:11:19 -08:00
parent 52c9865716
commit fa2a3bc55e
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@ impl<S> HttpRequest<S> {
#[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)
}