rust-lang/rust — pull request #18254 by areski (2014-10-23 12:54:37+00:00)
Title: Improved examples on Vec documentation

- shrink_to_fit example is now more clear by asserting the capacity value
- annotation [0, mid) changed for [0, mid]