1
0
forked from Rativel/BurritOS

Fixed more clippy complaining

This commit is contained in:
François Autin
2023-03-10 11:03:54 +01:00
parent be8435cf83
commit 6ee74ba126
2 changed files with 4 additions and 18 deletions

View File

@@ -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();