about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTethys Svensson <freaken@freaken.dk>2022-11-14 19:42:47 +0100
committerTethys Svensson <freaken@freaken.dk>2022-11-14 19:44:01 +0100
commit089475a44e9b2644a64816b899a587fa3ef2f728 (patch)
tree76a5c6db747a36b767076d9d3c885722fa1e16e7 /compiler/rustc_codegen_llvm/src
parent96ddd32c4bfb1d78f0cd03eb068b1710a8cebeef (diff)
downloadrust-089475a44e9b2644a64816b899a587fa3ef2f728.tar.gz
rust-089475a44e9b2644a64816b899a587fa3ef2f728.zip
Fix doc example for `wrapping_abs`
The `max` variable is unused. This change introduces the `min_plus`
variable, to make the example similar to the one from `saturating_abs`.
An alternative would be to remove the unused variable.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions