diff options
author | Daniel Schadt <kingdread@gmx.de> | 2018-04-23 15:26:02 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2018-04-23 15:26:02 +0200 |
commit | 4d4c6b6690d8ee1abff68d87fc6d0d0469412101 (patch) | |
tree | 359f0c0d337b6c1ad5e11e21818bdc1a4979b8fb /src/lib.rs | |
parent | 1a465ee75229d1268f20f2739ba29c4f84f70e7f (diff) | |
download | evtclib-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.rs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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(), |