mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-21 12:17:45 +00:00
Remove some unused imports
This commit is contained in:
parent
4b6166f8d0
commit
58cec6c91f
3 changed files with 1 additions and 5 deletions
|
@ -6,7 +6,6 @@ use std::io::{BufWriter, Cursor};
|
|||
use binrw::{BinRead, BinWrite};
|
||||
use binrw::binrw;
|
||||
use crate::{ByteBuffer, ByteSpan};
|
||||
use crate::cfg::ConfigFile;
|
||||
use crate::common_file_operations::{read_bool_from, write_bool_as};
|
||||
|
||||
use crate::race::{Gender, Race, Subrace};
|
||||
|
|
|
@ -6,7 +6,6 @@ use std::io::{Cursor, Seek, SeekFrom};
|
|||
use binrw::BinRead;
|
||||
use binrw::binrw;
|
||||
use crate::ByteSpan;
|
||||
use crate::chardat::CharacterData;
|
||||
|
||||
#[binrw]
|
||||
#[br(little)]
|
||||
|
|
|
@ -8,7 +8,6 @@ use binrw::{BinReaderExt, binrw};
|
|||
use binrw::BinRead;
|
||||
use binrw::BinWrite;
|
||||
use crate::ByteBuffer;
|
||||
use crate::chardat::CharacterData;
|
||||
|
||||
#[cfg(feature = "visual_data")]
|
||||
use crate::model::ModelFileHeader;
|
||||
|
@ -448,7 +447,6 @@ impl DatFile {
|
|||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use std::fs::read;
|
||||
use std::path::PathBuf;
|
||||
|
||||
use super::*;
|
||||
|
@ -469,7 +467,7 @@ mod tests {
|
|||
model_info: None,
|
||||
texture_info: None,
|
||||
};
|
||||
|
||||
|
||||
// Reading invalid data should just be nothing, but no panics
|
||||
assert!(dat.read_from_offset(0).is_none());
|
||||
assert!(dat.read_standard_file(0, &empty_file_info).is_none());
|
||||
|
|
Loading…
Add table
Reference in a new issue