about summary refs log tree commit diff
path: root/library/std/src/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2021-01-09 12:35:47 -0800
committerGitHub <noreply@github.com>2021-01-09 12:35:47 -0800
commitbefd1530984489781bc0b7283f82898734928ff2 (patch)
tree17f023ad90b814369c8287c6910a725eb35d67a5 /library/std/src/sys/unix/stack_overflow.rs
parentc8915eebeaaef9f7cc1cff6ffd97f578b03c2ac9 (diff)
downloadrust-befd1530984489781bc0b7283f82898734928ff2.tar.gz
rust-befd1530984489781bc0b7283f82898734928ff2.zip
Add comment to `Vec::truncate` explaining `>` vs `>=`
Hopefully this will prevent people from continuing to ask about this
over and over again :)

See [this Zulip discussion][1] for more.

[1]: https://rust-lang.zulipchat.com/#narrow/stream/219381-t-libs/topic/Vec.3A.3Atruncate.20implementation
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions