about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorDavid Ross <daboross@daboross.net>2017-08-27 03:22:53 -0700
committerGitHub <noreply@github.com>2017-08-27 03:22:53 -0700
commitf1b91f4037dc4b3e70912e5a5082be969ddd8e75 (patch)
treed02729567bd78267e2133cb5f32d88016ec69059 /src/rustllvm/PassWrapper.cpp
parent93cdf5e3c45a0578c79afe8563065d07e5f6984f (diff)
downloadrust-f1b91f4037dc4b3e70912e5a5082be969ddd8e75.tar.gz
rust-f1b91f4037dc4b3e70912e5a5082be969ddd8e75.zip
Clarify that VecDeque::swap can panic
The previous documentation mentioned this, but ambiguously used the term "fail".

This clarifies that the function will panic if the index is out of bounds, instead of silently failing and not doing anything.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions