clippy: remove some unnecessary reference taking
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
1 parent
f2f81791d1
commit
1d928b25fe
3 files changed
+9
-9
No files matched your search
@@ -277,7 +277,7 @@ impl PartialEq<&str> for RealmRef {
|
||||
|
||||
impl PartialEq<RealmRef> for Realm {
|
||||
fn eq(&self, rhs: &RealmRef) -> bool {
|
||||
self.0 == &rhs.0
|
||||
self.0 == rhs.0
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user