aboutsummaryrefslogtreecommitdiff
path: root/src/raw
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2020-04-29 14:36:47 +0200
committerDaniel Schadt <kingdread@gmx.de>2020-04-29 14:36:47 +0200
commit3e8b1c186bb4e748920cce002bd23bb60b52cb04 (patch)
treeb7179b224b803d8e4efa96f065057a3e4eac6668 /src/raw
parentf87419f62fdd015e69798982a7d8f09b55743ff5 (diff)
downloadevtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.tar.gz
evtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.tar.bz2
evtclib-3e8b1c186bb4e748920cce002bd23bb60b52cb04.zip
formatting fixes
Diffstat (limited to 'src/raw')
-rw-r--r--src/raw/mod.rs2
-rw-r--r--src/raw/types.rs2
2 files changed, 2 insertions, 2 deletions
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)]