From bf063e4494f9d33736a801846317ca7a8219affd Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 3 Dec 2024 14:41:39 +0100 Subject: [PATCH] auth: doc: Explicitly set namespace for UserInfomation Fixes the cargo doc warning: ``` warning: unresolved link to `UserInformation` --> src/auth.rs:418:53 | 418 | /// Check if a userid is enabled and return a [`UserInformation`] handle. | ^^^^^^^^^^^^^^^ no item named `UserInformation` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default ``` Signed-off-by: Maximiliano Sandoval --- src/auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth.rs b/src/auth.rs index d0fb0a9f..86b12a76 100644 --- a/src/auth.rs +++ b/src/auth.rs @@ -415,7 +415,7 @@ impl proxmox_auth_api::api::AuthContext for PbsAuthContext { "PBSAuthCookie" } - /// Check if a userid is enabled and return a [`UserInformation`] handle. + /// Check if a userid is enabled and return a [`proxmox_router::UserInformation`] handle. fn auth_id_is_active(&self, auth_id: &Authid) -> Result { Ok(pbs_config::CachedUserInfo::new()?.is_active_auth_id(auth_id)) }