diff options
author | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 14:36:47 +0200 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2020-04-29 14:36:47 +0200 |
commit | 3e8b1c186bb4e748920cce002bd23bb60b52cb04 (patch) | |
tree | b7179b224b803d8e4efa96f065057a3e4eac6668 /src | |
parent | f87419f62fdd015e69798982a7d8f09b55743ff5 (diff) | |
download | evtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.tar.gz evtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.tar.bz2 evtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.zip |
formatting fixes
Diffstat (limited to 'src')
-rw-r--r-- | src/gamedata.rs | 2 | ||||
-rw-r--r-- | src/raw/mod.rs | 2 | ||||
-rw-r--r-- | 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<T: Read + Seek>(input: &mut T) -> ParseResult<Evtc> { 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)] |