this post was submitted on 25 Sep 2024
34 points (97.2% liked)

Rust Programming

8074 readers
1 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
[–] eager_eagle@lemmy.world 2 points 1 week 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.