diff options
Diffstat (limited to 'stockton-levels/src/q3/header.rs')
-rw-r--r-- | stockton-levels/src/q3/header.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stockton-levels/src/q3/header.rs b/stockton-levels/src/q3/header.rs index d4e4f2f..46cfdac 100644 --- a/stockton-levels/src/q3/header.rs +++ b/stockton-levels/src/q3/header.rs @@ -1,4 +1,4 @@ -// Copyright (C) Oscar Shrimpton 2019 +// Copyright (C) Oscar Shrimpton 2019 // This program is free software: you can redistribute it and/or modify it // under the terms of the GNU General Public License as published by the Free @@ -13,8 +13,8 @@ // You should have received a copy of the GNU General Public License along // with this program. If not, see <http://www.gnu.org/licenses/>. -use std::convert::TryInto; use crate::types::{ParseError, Result}; +use std::convert::TryInto; const MAGIC_HEADER: &[u8] = &[0x49, 0x42, 0x53, 0x50]; const HEADER_LEN: usize = 4 + 4 + (17 * 4 * 2); @@ -80,4 +80,4 @@ impl Header { &buf[entry.offset as usize..entry.offset as usize + entry.length as usize] } -}
\ No newline at end of file +} |