36
submitted 5 days ago by tracyspcy@lemmy.ml to c/rust@lemmy.ml

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 5 days 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.

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

Rust Programming

7734 readers
1 users here now

founded 5 years ago
MODERATORS