From d54061a11c2d42c3ea7ec500e1541d5848d3d0d4 Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Mon, 9 Dec 2024 16:51:44 -0500 Subject: [PATCH] Adjust docs --- src/model/permissions.rs | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/model/permissions.rs b/src/model/permissions.rs index 5cef30962b3..10fb903a773 100644 --- a/src/model/permissions.rs +++ b/src/model/permissions.rs @@ -104,9 +104,13 @@ macro_rules! generate_permissions { impl Permissions { $( - #[doc = concat!("Shorthand for checking that the set of permissions contains the [", $name, "] permission.")] - #[doc = ""] - #[doc = concat!("[", $name, "]: Self::", stringify!($perm_upper))] + #[doc = concat!( + "Shorthand for checking that the set of permissions contains the [", + $name, + "](Self::", + stringify!($perm_upper), + ") permission." + )] #[must_use] $( #[deprecated = $deprecated]