Cuong Le
Subscribe
Sign in
Home
Archive
About
Level Up your Rust pattern matching
Rust’s pattern matching feels simple enough: match on enums, destructure tuples, handle Option and Result.
Sep 29
•
Cuong Le
18
The Hidden Rules Behind Rust Functions & Closures
Demystifying fn, Fn, FnMut, and FnOnce from everyday usage to compiler magic under the hood
Sep 10
•
Cuong Le
13
August 2025
If you aren't amazed by Rust enum, you don't know its power
Every time I explain Rust's enums to someone new, I get the same reaction: "Wait… enums can do that?"
Aug 27
•
Cuong Le
14
Constructor Best Practices in Rust
Constructor patterns every serious Rustacean should master to stop looking like a beginner.
Aug 18
•
Cuong Le
14
6
This Send/Sync Secret Separates Professional From Amateur Rust Developers
2 Months of Banging My Head Against Send/Sync, Explained in One Coffee Break
Aug 6
•
Cuong Le
17
15
July 2025
Unlock 100% Coverage - Mock Your Rust Unit Tests the Right Way
The essential mocking pattern every Rustacean should keep in their toolbox.
Jul 26
•
Cuong Le
2
String vs str in Rust: The Only Guide You'll Ever Need
Never Be Confused by String and str Again
Jul 19
•
Cuong Le
7
4
This site requires JavaScript to run correctly. Please
turn on JavaScript
or unblock scripts