Sporifica Virus — Rust — #adventofcode Day 22
Today’s challenge has us helping to clean up (or spread, I can’t really tell) an infection of the “sporifica” virus.
!!! commentary I thought I’d have another play with Rust, as its Haskell-like features resonate with me at the moment. I struggled quite a lot with the Rust concepts of ownership and borrowing, and this is a cleaned-up version of the code based on some good advice from the folks on /r/rust.