]> git.proxmox.com Git - proxmox.git/commitdiff
permissions: fix doc comment text width
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 09:45:21 +0000 (11:45 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 28 Apr 2022 09:45:21 +0000 (11:45 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
proxmox-router/src/permission.rs

index 65d2fce3aa03d25dcb28bbc157730e80fa9af5b1..34b3bff8a72ce8a2f6ca77d3d8b2c551b1962179 100644 (file)
@@ -23,9 +23,8 @@ pub enum Permission {
     Group(&'static str),
     /// Use a parameter value as userid to run sub-permission tests.
     WithParam(&'static str, &'static Permission),
-    /// Check privilege/role on the specified path. The boolean
-    /// attribute specifies if you want to allow partial matches (u64
-    /// interpreted as bitmask).
+    /// Check privilege/role on the specified path. The boolean attribute specifies if you want to
+    /// allow partial matches (u64 interpreted as bitmask).
     Privilege(&'static [&'static str], u64, bool),
     /// Allow access if all sub-permissions match
     And(&'static [&'static Permission]),