this post was submitted on 25 Sep 2024
36 points (100.0% liked)

Rust Programming

8414 readers
84 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 5 months 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.