diff options
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)] |