about summary refs log tree commit diff
path: root/src/liballoc/vec.rs
diff options
context:
space:
mode:
authorScott McMurray <scottmcm@users.noreply.github.com>2018-03-30 23:06:05 -0700
committerScott McMurray <scottmcm@users.noreply.github.com>2018-03-30 23:06:05 -0700
commitfb7deda27419eae61da3cbf5a5b1b4f51ae16d04 (patch)
tree9dc51de2af727ff8741edb1c3f2b1665374da21d /src/liballoc/vec.rs
parent80785a547d29519dbdb5781437ec318fb210b980 (diff)
downloadrust-fb7deda27419eae61da3cbf5a5b1b4f51ae16d04.tar.gz
rust-fb7deda27419eae61da3cbf5a5b1b4f51ae16d04.zip
Add #[must_use] to a few standard library methods
Chosen to start a precedent of using it on ones that are potentially-expensive and where using it for side effects is particularly discouraged.

Discuss :)
Diffstat (limited to 'src/liballoc/vec.rs')
0 files changed, 0 insertions, 0 deletions