rust-lang / nomicon

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

State that pop for length 1 is an example #360

Closed Arthur-Milchior closed 2 years ago

Arthur-Milchior commented 2 years ago

The way it's written, it seems to indicate that length 1 is a special case. This should make it clear that it's just an example to illustrate the next affirmation.