I don't know what to say. I was doing the Rust-by-Example tutorial. Next thing I knew it, I was writing my own ls
which totally seems like the kind of thing Rust developers are prone to doing.
Nothing helps you learn a language better than trying to deal with the filesystem in it.