26
submitted 2 weeks ago by u_1f914@lemmy.world to c/rust@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] KillTheMule@programming.dev 3 points 2 weeks ago

As mentioned in the article, it enables scenarios that getters/setters can't because of the borrow checker.

this post was submitted on 10 Aug 2026
26 points (100.0% liked)

Rust

8248 readers
2 users here now

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits

  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)

founded 3 years ago
MODERATORS