Skip to content

Commit

Permalink
Adjust docs
Browse files Browse the repository at this point in the history
  • Loading branch information
mkrasnitski committed Dec 9, 2024
1 parent c17220d commit d54061a
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/model/permissions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit d54061a

Please sign in to comment.