Formatting
This commit is contained in:
parent
05d95cb415
commit
28092c7ae6
|
@ -277,10 +277,7 @@ impl State {
|
|||
fn main() {
|
||||
let filename = "etc/p07.txt";
|
||||
let file = fs::File::open(filename).expect("Can't open file");
|
||||
let lines: Vec<String> = io::BufReader::new(file)
|
||||
.lines()
|
||||
.flatten()
|
||||
.collect();
|
||||
let lines: Vec<String> = io::BufReader::new(file).lines().flatten().collect();
|
||||
|
||||
println!("PART ONE ---------------");
|
||||
part1(&lines);
|
||||
|
|
Loading…
Reference in New Issue