1
0
mirror of https://github.com/fafhrd91/actix-web synced 2024-11-28 01:52:57 +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]
/// 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)
}