Advent of Rust // Day 2
The second day was still easy on the puzzle side. I guess I went a little overboard with the implementation, but I wanted to play with the language. I had a lot of first ones today: First struct, first enum, first use of impl to add functionality, passing functions as arguments, and adding behavior with derivable traits.
continue reading