let file = File::open("hello.txt").unwrap();
let file = File::open("hello.txt").expect("File not found!");
This Rust cheatsheet covers the essentials you'll need while working with Rust, from basic syntax and control flow to advanced concepts like lifetimes, concurrency, and error handling. Keep this cheatsheet handy as you work with Rust to quickly recall the syntax and concepts you need.