From 807413119ccfe431ffc4633980dcf2d73eebc65d Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Thu, 29 Aug 2024 20:29:25 +0200 Subject: fix formatting --- src/event.rs | 20 +++++--------------- 1 file changed, 5 insertions(+), 15 deletions(-) diff --git a/src/event.rs b/src/event.rs index 27ed2db..4e0cbd1 100644 --- a/src/event.rs +++ b/src/event.rs @@ -220,10 +220,7 @@ pub enum EventKind { /// The given agent has a new barrier percentage. /// /// The percentage is given multiplied by 100, so 95% is given as 9500. - BarrierUpdate { - agent_addr: u64, - percentage: u32, - }, + BarrierUpdate { agent_addr: u64, percentage: u32 }, /// The arcdps stats have been reset. /// @@ -233,9 +230,7 @@ pub enum EventKind { /// When the map instance has been started. /// /// The instance age is given in milliseconds. - InstanceStart { - age: u64, - }, + InstanceStart { age: u64 }, /// The log's boss agent changed. LogNpcUpdate { @@ -264,21 +259,16 @@ pub enum EventKind { }, /// Version string of the arcdps build. - ArcBuild { - build: String, - }, + ArcBuild { build: String }, /// Glider state of the given agent. - Glider { - agent_addr: u64, - deployed: bool, - }, + Glider { agent_addr: u64, deployed: bool }, /// A stun has been broken early. Stunbreak { agent_addr: u64, remaining_duration: i32, - } + }, } /// A higher-level representation of a combat event. -- cgit v1.2.3