I\'ve been working through the 2020 Advent of Code in Rust, trying to produce solutions involving fairly generic functions, which could (in theory) be reused elsewhere witho