Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
viktaur committed Dec 7, 2023
1 parent 2b37ad1 commit 7925728
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/bin/05.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,6 @@ pub fn part_one(input: &str) -> Option<u64> {
// Takes a while
pub fn part_two(input: &str) -> Option<u64> {
let (seeds, mappings_vec) = parse_almanac(input).unwrap();

// let seeds = Seeds(
// seeds.0.chunks(2).fold(vec![], |mut v, pair| {
// let s = *pair.get(0).unwrap();
// let r = *pair.get(1).unwrap();
//
// v.extend(s..s+r);
// v
// })
// );

let mut mappings_vec_rev = mappings_vec.clone();
mappings_vec_rev.reverse();

Expand Down

0 comments on commit 7925728

Please sign in to comment.