acl: cargo fmt
This commit is contained in:
parent
3215630aab
commit
f09de29ee4
1 changed files with 4 additions and 6 deletions
|
@ -28,16 +28,14 @@ pub struct LogEntry {
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PartialEq for AuthMethod {
|
impl PartialEq for AuthMethod {
|
||||||
fn eq(&self, other: &Self) -> bool{
|
fn eq(&self, other: &Self) -> bool {
|
||||||
(self.method == other.method)
|
(self.method == other.method) && (self.identifier == other.identifier)
|
||||||
&& (self.identifier == other.identifier)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl PartialEq for ResourceShortcuts {
|
impl PartialEq for ResourceShortcuts {
|
||||||
fn eq(&self, other: &Self) -> bool{
|
fn eq(&self, other: &Self) -> bool {
|
||||||
(self.username == other.username)
|
(self.username == other.username) && (self.id == other.id)
|
||||||
&& (self.id == other.id)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue