mirror of
https://github.com/rust-lang/rust.git
synced 2026-06-01 14:10:03 +03:00
39289d00fd
This documentation confused me when trying to use truncate on a project. Originally, it was unclear whether truncate removed the last `len` elements, or whether it cut down the vector to be exactly `len` elements long. The example was also ambiguous.