From 61d18bcf9c165ca0f53885d58dd87fe35f7177f4 Mon Sep 17 00:00:00 2001 From: Maximiliano Sandoval Date: Tue, 3 Dec 2024 10:32:42 +0100 Subject: [PATCH] config: acl: docs: link to PRIVILEGES with namespace Otherwise: ``` warning: unresolved link to `PRIVILEGES` --> pbs-config/src/acl.rs:15:71 | 15 | /// Map of pre-defined [Roles](Role) to their associated [privileges](PRIVILEGES) combination | ^^^^^^^^^^ no item named `PRIVILEGES` 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 --- pbs-config/src/acl.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pbs-config/src/acl.rs b/pbs-config/src/acl.rs index d8138078..e8690560 100644 --- a/pbs-config/src/acl.rs +++ b/pbs-config/src/acl.rs @@ -12,8 +12,8 @@ use pbs_api_types::{Authid, Role, Userid, ROLE_NAME_NO_ACCESS}; use crate::{open_backup_lockfile, replace_backup_config, BackupLockGuard}; -/// Map of pre-defined [Roles](Role) to their associated [privileges](PRIVILEGES) combination -/// and description. +/// Map of pre-defined [Roles](Role) to their associated +/// [privileges](pbs_api_types::PRIVILEGES) combination and description. pub static ROLE_NAMES: LazyLock> = LazyLock::new(|| { let mut map = HashMap::new();