aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-05-02 15:16:28 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-05-02 15:16:28 +0200
commitb5270a5947cfa770358d13734e7c08dc4b217f05 (patch)
tree1c4c46a7a35b78647bc149a22985219c18674a28
parent4abcec4d706ded45689c5c518ba8db33c93af536 (diff)
downloadevtclib-b5270a5947cfa770358d13734e7c08dc4b217f05.tar.gz
evtclib-b5270a5947cfa770358d13734e7c08dc4b217f05.tar.bz2
evtclib-b5270a5947cfa770358d13734e7c08dc4b217f05.zip
fix formatting
-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]
}
}