forked from Rativel/BurritOS
Fixed more clippy complaining
This commit is contained in:
@@ -15,7 +15,7 @@ use std::io::BufRead;
|
||||
///
|
||||
/// - **path** the path of the file to load
|
||||
/// - **size** the number of bytes to write (1, 2, 4 or 8)
|
||||
pub fn load(path : &str, instruction_size: i32) -> Machine {
|
||||
pub fn _load(path : &str, instruction_size: i32) -> Machine {
|
||||
let file = fs::File::open(path).expect("Wrong filename");
|
||||
let reader = io::BufReader::new(file);
|
||||
let mut machine = Machine::_init_machine();
|
||||
|
||||
Reference in New Issue
Block a user