mirror of
https://github.com/actix/actix-web.git
synced 2024-05-08 03:23:06 +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()
|
||||
}
|
||||
|
||||
/// Counterpart to [`HttpRequest::app_data`].
|
||||
/// Counterpart to [HttpRequest::app_data](crate::HttpRequest::app_data).
|
||||
#[inline]
|
||||
pub fn app_data<T: 'static>(&self) -> Option<&T> {
|
||||
self.req.app_data()
|
||||
|
|
Loading…
Reference in a new issue