1
0
mirror of https://github.com/actix/actix-extras.git synced 2024-11-24 07:53:00 +01:00

make method private

This commit is contained in:
Nikolay Kim 2017-12-19 13:11:19 -08:00
parent 52c9865716
commit fa2a3bc55e

View File

@ -154,7 +154,7 @@ impl<S> HttpRequest<S> {
#[inline] #[inline]
/// Construct new http request without state. /// 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) HttpRequest(self.0.clone(), None, None)
} }