The article looks great and I’m looking forward to reading it; this comment is not a criticism of the article.
This API is the only bad thing about Rust!
.expect("Could not read file")
It’s so unfortunate to have an API that reads .expect("thing we don’t expect")
I think we should all just forget it’s there and use .unwrap_or_else(|| panic!(“thing we don’t expect”))