about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2021-01-10 16:55:57 +0900
committerGitHub <noreply@github.com>2021-01-10 16:55:57 +0900
commitd64356f06cff6b21c6e13054131d96ec1c6dc077 (patch)
tree1f288c6069665d575dd467201be6f8797db16810 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentf90c7f0f42dbebbb85d9699b5826b0b103b0fbde (diff)
parent769fb8a8b7933f0810001353881410d1892e9268 (diff)
downloadrust-d64356f06cff6b21c6e13054131d96ec1c6dc077.tar.gz
rust-d64356f06cff6b21c6e13054131d96ec1c6dc077.zip
Rollup merge of #80774 - LingMan:patch-1, r=nagisa
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/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions