remove unused use statements
This commit is contained in:
		
							parent
							
								
									6a8fccd360
								
							
						
					
					
						commit
						f8d249380c
					
				@ -1,19 +1,6 @@
 | 
				
			|||||||
// TOOD: `pub(super) for most of these?`
 | 
					// TOOD: `pub(super) for most of these?`
 | 
				
			||||||
 | 
					 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					 | 
				
			||||||
use std::io::{Read};
 | 
					 | 
				
			||||||
use std::fs::File;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					 | 
				
			||||||
use rand::Rng;
 | 
					 | 
				
			||||||
use thiserror::Error;
 | 
					use thiserror::Error;
 | 
				
			||||||
 | 
					use crate::ship::room::Episode;
 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					 | 
				
			||||||
use crate::ship::room::{Episode, RoomMode};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
// TODO: don't use *
 | 
					 | 
				
			||||||
use crate::ship::map::*;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#[derive(Debug, Copy, Clone, PartialEq)]
 | 
					#[derive(Debug, Copy, Clone, PartialEq)]
 | 
				
			||||||
pub enum MapArea {
 | 
					pub enum MapArea {
 | 
				
			||||||
 | 
				
			|||||||
@ -1,15 +1,11 @@
 | 
				
			|||||||
// TOOD: `pub(super) for most of these?`
 | 
					// TOOD: `pub(super) for most of these?`
 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					 | 
				
			||||||
use std::io::{Read};
 | 
					use std::io::{Read};
 | 
				
			||||||
use std::fs::File;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					use byteorder::{LittleEndian, ReadBytesExt};
 | 
				
			||||||
use rand::Rng;
 | 
					 | 
				
			||||||
use thiserror::Error;
 | 
					use thiserror::Error;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					use crate::ship::monster::MonsterType;
 | 
				
			||||||
use crate::ship::room::{Episode, RoomMode};
 | 
					use crate::ship::room::Episode;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use crate::ship::map::*;
 | 
					use crate::ship::map::*;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -1,12 +1,9 @@
 | 
				
			|||||||
// TOOD: `pub(super) for most of these?`
 | 
					// TOOD: `pub(super) for most of these?`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					use std::path::PathBuf;
 | 
				
			||||||
use std::io::{Read};
 | 
					use std::io::{Read};
 | 
				
			||||||
use std::fs::File;
 | 
					use std::fs::File;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					 | 
				
			||||||
use rand::Rng;
 | 
					 | 
				
			||||||
use thiserror::Error;
 | 
					use thiserror::Error;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					use crate::ship::monster::MonsterType;
 | 
				
			||||||
 | 
				
			|||||||
@ -10,16 +10,3 @@ pub use enemy::*;
 | 
				
			|||||||
pub use object::*;
 | 
					pub use object::*;
 | 
				
			||||||
pub use variant::*;
 | 
					pub use variant::*;
 | 
				
			||||||
pub use maps::*;
 | 
					pub use maps::*;
 | 
				
			||||||
 | 
					 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					 | 
				
			||||||
use std::io::{Read};
 | 
					 | 
				
			||||||
use std::fs::File;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					 | 
				
			||||||
use rand::Rng;
 | 
					 | 
				
			||||||
use thiserror::Error;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					 | 
				
			||||||
use crate::ship::room::{Episode, RoomMode};
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
 | 
				
			|||||||
@ -1,16 +1,10 @@
 | 
				
			|||||||
// TOOD: `pub(super) for most of these?`
 | 
					// TOOD: `pub(super) for most of these?`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					 | 
				
			||||||
use std::io::{Read};
 | 
					use std::io::{Read};
 | 
				
			||||||
use std::fs::File;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					use byteorder::{LittleEndian, ReadBytesExt};
 | 
				
			||||||
use rand::Rng;
 | 
					 | 
				
			||||||
use thiserror::Error;
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					use crate::ship::room::Episode;
 | 
				
			||||||
use crate::ship::room::{Episode, RoomMode};
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TODO: don't use *
 | 
					// TODO: don't use *
 | 
				
			||||||
use crate::ship::map::*;
 | 
					use crate::ship::map::*;
 | 
				
			||||||
 | 
				
			|||||||
@ -1,16 +1,6 @@
 | 
				
			|||||||
// TOOD: `pub(super) for most of these?`
 | 
					// TOOD: `pub(super) for most of these?`
 | 
				
			||||||
 | 
					
 | 
				
			||||||
use std::convert::Into;
 | 
					 | 
				
			||||||
use std::path::PathBuf;
 | 
					 | 
				
			||||||
use std::io::{Read};
 | 
					 | 
				
			||||||
use std::fs::File;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
use byteorder::{LittleEndian, ReadBytesExt};
 | 
					 | 
				
			||||||
use rand::Rng;
 | 
					use rand::Rng;
 | 
				
			||||||
use thiserror::Error;
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
use crate::ship::monster::MonsterType;
 | 
					 | 
				
			||||||
use crate::ship::room::{Episode, RoomMode};
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TODO: don't use *
 | 
					// TODO: don't use *
 | 
				
			||||||
use crate::ship::map::*;
 | 
					use crate::ship::map::*;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user