Boosted by kornel ("Kornel"):
ponygol@chaos.social ("Ponygol") wrote:
Oh, #rust gets the ability to restrict mutability of a field to the crate while keeping it publically readable. This should eliminate the need for boilerplate getter functions that just return a field value.
https://blog.rust-lang.org/inside-rust/2026/08/10/call-for-testing-impl-and-mut-restrictions