Code, Creativity & Community
Showing posts tagged Rust · View all posts
Editor's pick
.unwrap() extracts values from Result and Option types, but panics if they contain errors or None. It's convenient, sometimes necessary, and often the wrong choice. Knowing when to use it...
Read more...
Understanding .unwrap() in Rust: When to Use It (and When Not To)
Mutable References in Rust: The &mut self Pattern Explained
Rust's Derive Macro: Understanding #[derive(Debug)]