From 4d4c6b6690d8ee1abff68d87fc6d0d0469412101 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Mon, 23 Apr 2018 15:26:02 +0200 Subject: apply clippy's suggestions --- src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib.rs') 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, 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(), -- cgit v1.2.3