aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/raw/types.rs16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/raw/types.rs b/src/raw/types.rs
index 339b831..f5399f3 100644
--- a/src/raw/types.rs
+++ b/src/raw/types.rs
@@ -371,14 +371,14 @@ impl fmt::Debug for Agent {
impl PartialEq for Agent {
fn eq(&self, other: &Self) -> bool {
- self.addr == other.addr &&
- self.prof == other.prof &&
- self.is_elite == other.is_elite &&
- self.toughness == other.toughness &&
- self.concentration == other.concentration &&
- self.healing == other.healing &&
- self.condition == other.condition &&
- &self.name as &[u8] == &other.name as &[u8]
+ self.addr == other.addr
+ && self.prof == other.prof
+ && self.is_elite == other.is_elite
+ && self.toughness == other.toughness
+ && self.concentration == other.concentration
+ && self.healing == other.healing
+ && self.condition == other.condition
+ && &self.name as &[u8] == &other.name as &[u8]
}
}