mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-24 08:22:59 +01:00
make method private
This commit is contained in:
parent
52c9865716
commit
fa2a3bc55e
@ -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 New Issue
Block a user