about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper
diff options
context:
space:
mode:
authorLingMan <LingMan@users.noreply.github.com>2021-01-07 09:13:21 +0100
committerGitHub <noreply@github.com>2021-01-07 09:13:21 +0100
commit769fb8a8b7933f0810001353881410d1892e9268 (patch)
treeb9b38e643198f65dba2dfc819d3005fc80185f59 /compiler/rustc_llvm/llvm-wrapper
parentdfdfaa1f0442dac516ba87d274d832c00464b3c2 (diff)
downloadrust-769fb8a8b7933f0810001353881410d1892e9268.tar.gz
rust-769fb8a8b7933f0810001353881410d1892e9268.zip
Fix safety comment
The size assertion in the comment was inverted compared to the code. After fixing that the implication that `(new_size >= old_size) => new_size != 0` still doesn't hold so explain why `old_size != 0` at this point.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper')
0 files changed, 0 insertions, 0 deletions