mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-14 01:12:24 +00:00
Lots of clippy appeasement
This commit is contained in:
@@ -35,7 +35,8 @@ impl Principal {
|
||||
/// Returns true if the user is either
|
||||
/// - the principal itself
|
||||
/// - has full access to the prinicpal (is member)
|
||||
#[must_use] pub fn is_principal(&self, principal: &str) -> bool {
|
||||
#[must_use]
|
||||
pub fn is_principal(&self, principal: &str) -> bool {
|
||||
if self.id == principal {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user