1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-10-21 17:33:59 +00: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)
}