diff options
| author | Cameron Sun <cameron.csun@gmail.com> | 2015-10-28 21:38:46 -0400 |
|---|---|---|
| committer | Cameron Sun <cameron.csun@gmail.com> | 2015-10-28 21:38:46 -0400 |
| commit | 39289d00fdfe6e845e3325ff8f388cc40e9620f3 (patch) | |
| tree | a379cb63994700d2bd89a0917ac4802a03f3b287 /src/libstd/sys/unix/stack_overflow.rs | |
| parent | 8ca0acc25adb00d29e52b015bded4b2872a1170c (diff) | |
| download | rust-39289d00fdfe6e845e3325ff8f388cc40e9620f3.tar.gz rust-39289d00fdfe6e845e3325ff8f388cc40e9620f3.zip | |
Update docstring for truncate
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.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
