aboutsummaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2018-04-23 15:26:02 +0200
committerDaniel Schadt <kingdread@gmx.de>2018-04-23 15:26:02 +0200
commit4d4c6b6690d8ee1abff68d87fc6d0d0469412101 (patch)
tree359f0c0d337b6c1ad5e11e21818bdc1a4979b8fb /src/lib.rs
parent1a465ee75229d1268f20f2739ba29c4f84f70e7f (diff)
downloadevtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.tar.gz
evtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.tar.bz2
evtclib-4d4c6b6690d8ee1abff68d87fc6d0d0469412101.zip
apply clippy's suggestions
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib.rs b/src/lib.rs
index aff6f2e..5b0d808 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -119,12 +119,12 @@ fn setup_agents(data: &raw::Evtc) -> Result<Vec<Agent>, EvtcError> {
let agent = Agent {
addr: raw_agent.addr,
- kind: kind,
+ kind,
toughness: raw_agent.toughness,
concentration: raw_agent.concentration,
healing: raw_agent.healing,
condition: raw_agent.condition,
- name: name,
+ name,
instance_id: 0,
first_aware: 0,
last_aware: u64::max_value(),