about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2023-02-01 05:54:37 +0100
committerGitHub <noreply@github.com>2023-02-01 05:54:37 +0100
commit0d2ab6774243451c8743bad2c9dbdf2e61d10f89 (patch)
tree9066e8c054962a0f98c866e173ab0550a5b7b335 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp
parentad8e1dc2863f63c35ef3ceef3064d0851a1d2582 (diff)
parentaf9671fd28601c95c4770aa47c733f81ad6ab607 (diff)
downloadrust-0d2ab6774243451c8743bad2c9dbdf2e61d10f89.tar.gz
rust-0d2ab6774243451c8743bad2c9dbdf2e61d10f89.zip
Rollup merge of #107389 - zvavybir:master, r=estebank
Fixing confusion between mod and remainder

Like many programming languages, rust too confuses remainder and modulus.  The `%` operator and the associated `Rem` trait is (as the trait name suggests) the remainder, but since most people are linguistically more familiar with the modulus the documentation sometimes claims otherwise.  This PR tries to fix this problem in rustc.
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions