Compare commits

..

1 Commits

Author SHA1 Message Date
Dan Ballard 3ae45e3cf4 day 3 2020-12-06 18:42:15 -08:00
1 changed files with 1 additions and 0 deletions

View File

@ -6,6 +6,7 @@ pub fn both(filename: &str) -> Result<(), Box<dyn Error>> {
let contents = fs::read_to_string(filename)?;
let lines = contents.lines().collect();
let trees01 = calc_trees(&lines, 3, 1);
println!("Encountered {} trees while going down", trees01);