From 3e8b1c186bb4e748920cce002bd23bb60b52cb04 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Wed, 29 Apr 2020 14:36:47 +0200 Subject: formatting fixes --- src/gamedata.rs | 2 +- src/raw/mod.rs | 2 +- src/raw/types.rs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gamedata.rs b/src/gamedata.rs index b32b385..bfdae10 100644 --- a/src/gamedata.rs +++ b/src/gamedata.rs @@ -1,7 +1,7 @@ //! This module contains some low-level game data, such as different boss IDs. use num_derive::FromPrimitive; -use thiserror::Error; use std::str::FromStr; +use thiserror::Error; /// Enum containing all bosses with their IDs. #[derive(Debug, Copy, Clone, PartialEq, Eq, Hash, FromPrimitive)] diff --git a/src/raw/mod.rs b/src/raw/mod.rs index 50ad9b4..88b58ac 100644 --- a/src/raw/mod.rs +++ b/src/raw/mod.rs @@ -17,8 +17,8 @@ pub mod parser; pub use self::parser::{parse_file, Evtc, ParseError, ParseResult}; -use std::io::{Read, Seek, BufReader}; use std::ffi::CStr; +use std::io::{BufReader, Read, Seek}; /// Parse a complete log that was compressed as a zip file. pub fn parse_zip(input: &mut T) -> ParseResult { diff --git a/src/raw/types.rs b/src/raw/types.rs index 3544531..6d72892 100644 --- a/src/raw/types.rs +++ b/src/raw/types.rs @@ -1,5 +1,5 @@ -use std::{self, fmt}; use num_derive::FromPrimitive; +use std::{self, fmt}; /// The "friend or foe" enum. #[derive(Copy, Clone, Debug, PartialEq, Eq, FromPrimitive)] -- cgit v1.2.3