Lộ trình học Rust

Ownership và borrowing

Những điều làm Rust khác biệt: quyền sở hữu (ownership), move, tham chiếu, slice, lifetime và con trỏ thông minh.

Chạy thử Rust online

5 bài học

Lifetimes

Tell the compiler how long references stay valid with lifetime annotations.

Xem bài học →