rust-lang / nomicon

The Dark Arts of Advanced and Unsafe Rust Programming
https://doc.rust-lang.org/nomicon/
Apache License 2.0
1.75k stars 258 forks source link

Introducing init/uninit before its use #355

Closed Arthur-Milchior closed 2 years ago

Arthur-Milchior commented 2 years ago

In this case, I believe the meaning is intuitive enough that the abbreviation makes sens. However, I still prefer to introduce it explicitly. In particular because, in drop-flags, I misintepreted "x was uninit". I thought that "uninit" was a verb, so that something did uninit x. It is only after some thought that I understood that it was not a passive sentence but a descriptive one, and that "uninit" should be understood as an adjective.