Pull apart return type from load_map
This commit is contained in:
@@ -57,7 +57,7 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
)
|
||||
}
|
||||
let input_file = &args[1];
|
||||
let data = load_map(input_file)?;
|
||||
let (data, guard_position) = load_map(input_file)?;
|
||||
println!("{:?}", data);
|
||||
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user