From f09de29ee41f0dfc7371cc3e0078e10c5983be6c Mon Sep 17 00:00:00 2001 From: George Kaklamanos Date: Mon, 20 Nov 2023 21:37:48 +0200 Subject: [PATCH] acl: `cargo fmt` --- labadoor-acl/src/lib.rs | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/labadoor-acl/src/lib.rs b/labadoor-acl/src/lib.rs index 927438a..3ef4f83 100644 --- a/labadoor-acl/src/lib.rs +++ b/labadoor-acl/src/lib.rs @@ -28,16 +28,14 @@ pub struct LogEntry { } impl PartialEq for AuthMethod { - fn eq(&self, other: &Self) -> bool{ - (self.method == other.method) - && (self.identifier == other.identifier) + fn eq(&self, other: &Self) -> bool { + (self.method == other.method) && (self.identifier == other.identifier) } } impl PartialEq for ResourceShortcuts { - fn eq(&self, other: &Self) -> bool{ - (self.username == other.username) - && (self.id == other.id) + fn eq(&self, other: &Self) -> bool { + (self.username == other.username) && (self.id == other.id) } }