mirror of
https://github.com/actix/actix-web.git
synced 2024-05-19 16:58:14 +00:00
fix(guard): docs link to app_data
This commit is contained in:
parent
09ff35a602
commit
0b2069472f
|
@ -111,7 +111,7 @@ impl<'a> GuardContext<'a> {
|
||||||
H::parse(self.req).ok()
|
H::parse(self.req).ok()
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Counterpart to [`HttpRequest::app_data`].
|
/// Counterpart to [HttpRequest::app_data](crate::HttpRequest::app_data).
|
||||||
#[inline]
|
#[inline]
|
||||||
pub fn app_data<T: 'static>(&self) -> Option<&T> {
|
pub fn app_data<T: 'static>(&self) -> Option<&T> {
|
||||||
self.req.app_data()
|
self.req.app_data()
|
||||||
|
|
Loading…
Reference in a new issue