router: format doc comment, use full text width

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2022-05-05 08:43:40 +02:00
parent 43b5f1ae3e
commit de5d5f7618

View File

@ -86,9 +86,8 @@ impl<T: UserInformation> UserInformation for std::sync::Arc<T> {
/// Example implementation to check access permissions
///
/// This implementation supports URI variables in Privilege path
/// components, i.e. '{storage}'. We replace this with actual
/// parameter values before calling lookup_privs().
/// This implementation supports URI variables in Privilege path components, i.e. '{storage}'.
/// We replace this with actual parameter values before calling lookup_privs().
pub fn check_api_permission(
perm: &Permission,
userid: Option<&str>,