mirror of
https://github.com/actix/actix-web.git
synced 2025-06-07 07:38:47 +00:00
make method private
This commit is contained in:
parent
52c9865716
commit
fa2a3bc55e
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue