Code I've written whilst playing around with Rust