this post was submitted on 25 Sep 2024
37 points (97.4% liked)

Rust Programming

8163 readers
2 users here now

founded 5 years ago
MODERATORS
 

Rust ownership is a fundamental part of the language.

I’ve summarized the basic concepts here as a learning exercise for myself.

I’m sharing this to gather feedback, corrections, and suggestions.

Feel free to offer improvements wherever needed!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 month ago

As someone learning Rust, I'll say that I appreciate the "advice" at the top because cloning is often tempting to use but - even though that's usually okay - it doesn't help one to practice the rust-specific ways of handling scope, ownership, and borrowing.