Fix clippy lint
This commit is contained in:
parent
d6de981254
commit
3006a6d860
|
@ -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
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue