mirror of
https://github.com/fafhrd91/actix-web
synced 2025-02-22 04:03:17 +01:00
Fix typo in request_data.rs (#1774)
This commit is contained in:
parent
4bfd5c2781
commit
e5b86d189c
@ -50,7 +50,7 @@ use crate::{dev::Payload, FromRequest, HttpRequest};
|
|||||||
pub struct ReqData<T: Clone + 'static>(T);
|
pub struct ReqData<T: Clone + 'static>(T);
|
||||||
|
|
||||||
impl<T: Clone + 'static> ReqData<T> {
|
impl<T: Clone + 'static> ReqData<T> {
|
||||||
/// Consumes the `ReqData`, returning it's wrapped data.
|
/// Consumes the `ReqData`, returning its wrapped data.
|
||||||
pub fn into_inner(self) -> T {
|
pub fn into_inner(self) -> T {
|
||||||
self.0
|
self.0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user