about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/parser-errors.js
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 /tests/rustdoc-js-std/parser-errors.js
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 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions