about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorCameron Sun <cameron.csun@gmail.com>2015-10-28 21:38:46 -0400
committerCameron Sun <cameron.csun@gmail.com>2015-10-28 21:38:46 -0400
commit39289d00fdfe6e845e3325ff8f388cc40e9620f3 (patch)
treea379cb63994700d2bd89a0917ac4802a03f3b287 /src/libstd/sys/unix/stack_overflow.rs
parent8ca0acc25adb00d29e52b015bded4b2872a1170c (diff)
downloadrust-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