Advent of Code 2018, Day 1
Part 1
Very simple. Just a matter of summing up the lines.
Given this is the first time I’m writing non-trivial Rust, I ran into a small issue. Initially, my main function used the default return type of (), so when I compiled my code, I got this:
warning: unused …