Fix clippy lint

This commit is contained in:
bitfl0wer 2023-08-22 22:40:36 +02:00
parent 9e3bf947c1
commit 0c62bf9836
1 changed files with 7 additions and 8 deletions

View File

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