Skip to content

Commit

Permalink
fix(guard): docs link to app_data
Browse files Browse the repository at this point in the history
  • Loading branch information
GreeFine committed Apr 25, 2024
1 parent 09ff35a commit 0b20694
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actix-web/src/guard/mod.rs
Expand Up @@ -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()
Expand Down

0 comments on commit 0b20694

Please sign in to comment.