mirror of https://github.com/fafhrd91/actix-web
TestRequest::take public
This commit is contained in:
parent
0081b9d446
commit
00ea195601
|
@ -133,7 +133,7 @@ impl TestRequest {
|
||||||
self
|
self
|
||||||
}
|
}
|
||||||
|
|
||||||
pub(crate) fn take(&mut self) -> TestRequest {
|
pub fn take(&mut self) -> TestRequest {
|
||||||
TestRequest(self.0.take())
|
TestRequest(self.0.take())
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue