Earlier quoted context omitted.
Given the number of Rust developers reading this, it's probably going to be very helpful for them if you can describe what you actually got hung up on.
Here's a wart. Why is reading lines from a file so hard? It's one of the first things people are going to need to do in a programming language. On top of handling errors (which I understand is necessary, and which the ? operator makes easier), it requires importing BufReader and BufRead, and wrapping a reference to a file handle in BufReader. Nobody is going to know how to do this unless they come across it in Rust B…
In other languages, you might do File.ReadAllLines("foo.txt"), and bam, you're done.