@kevin for the sake of showing the match syntax, this is valid... but just so you know, it is possible to write that same thing in way less code: https://play.rust-lang.org/?version=stable&mode=debug&edition=2018&gist=82fe60181038e4dbcd2d77042f7588af
@musicmatze oh wow! This is really nice, too! Didn't know about or_else()!
I like iterators more ;)
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!