External Publication
Visit Post

Private unsafe fields are a poorly motivated feature

Rust Internals [Unofficial] February 5, 2026
Source

scottmcm:

The point of the RFC, as I see it, is to solve the Vec::set_len problem.

If that’s indeed the primary motivation, I’m wondering why the RCF turned out choosing the “all access is unsafe” option over allowing reads.

Discussion in the ATmosphere

Loading comments...