1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-05-08 03:23:06 +00:00

Compare commits

...

2 commits

Author SHA1 Message Date
Raphael C b07c95867e
Merge 0b2069472f into ba7fd048b6 2024-04-25 08:39:46 +00:00
GreeFine 0b2069472f
fix(guard): docs link to app_data 2024-04-25 10:39:37 +02:00

View file

@ -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()