Compare commits

..

1 Commits

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

View File

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