Rust Tutorial
3 posts
![Rust #[must_use] attribute: three usage patterns on structs, functions, and traits](https://rexai.top/images/rust-must-use-attribute/rust-must-use-cover.jpg)
Rust's #[must_use]: Making Sure Your Return Values Can't Be Ignored
Rust #[must_use] attribute explained: put it on structs, functions, or traits to force callers to handle critical return values. Compile-time warnings prevent transactions and payments from being silently dropped.
March 22, 2026 · 5 min · 1059 words · 梦兽编程

Don't Underestimate Rust Enums: A Complete Hands-On Guide
Rust enums are far more than a set of constants. They carry data, drive state machines, replace null, and unify error handling. This guide walks you from basics to recursive enums with real code examples.
February 15, 2026 · 9 min · 1881 words · Rex Programming

Rust 1.93 Released: musl Upgrade, Assembly Conditional Compilation, Zero-Copy Suite
Rust 1.93 is out with all musl targets upgraded to 1.2.5, #[cfg] conditional compilation in assembly, global allocators can now use TLS, and zero-copy APIs stabilized.
January 28, 2026 · 7 min · 1443 words · DreamBeast Programming
