mirror of
https://github.com/rust-lang/rustlings.git
synced 2025-12-29 07:19:17 +00:00
Add exercises for: - const generics - let-else statements - generic associated types (GAT) - async traits These exercises help learners understand and practice new Rust features introduced in recent versions."
Rust 新特性练习
这个章节包含了一些 Rust 最新特性的练习。通过这些练习,你将学习到:
- const 泛型(Rust 1.51+)
- GAT (Generic Associated Types) (Rust 1.65+)
- let-else 语句(Rust 1.65+)
- 异步特征(Rust 1.75+)