Fix clippy lint

This commit is contained in:
bitfl0wer 2023-08-22 22:40:36 +02:00
parent d6de981254
commit 3006a6d860
No known key found for this signature in database
GPG Key ID: 0ACD574FCF5226CF
1 changed files with 7 additions and 8 deletions

View File

@ -29,14 +29,13 @@ pub struct Emoji {
impl PartialEq for Emoji { impl PartialEq for Emoji {
fn eq(&self, other: &Self) -> bool { fn eq(&self, other: &Self) -> bool {
self.id == other.id !(self.id != other.id
&& self.name == other.name || self.name != other.name
&& self.roles == other.roles || self.roles != other.roles
&& self.roles == other.roles || self.require_colons != other.require_colons
&& self.require_colons == other.require_colons || self.managed != other.managed
&& self.managed == other.managed || self.animated != other.animated
&& self.animated == other.animated || self.available != other.available)
&& self.available == other.available
} }
} }