1
0
Fork 0
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:
GreeFine 2024-04-25 10:39:37 +02:00
parent 09ff35a602
commit 0b2069472f
No known key found for this signature in database
GPG key ID: 26E0E4E1863871B8

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