diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-11-24 11:08:19 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-24 11:08:19 +0100 |
| commit | 3c52c9b483f55596e6579a125b7087a5e7e506e1 (patch) | |
| tree | 670831d97ac7cc9ddd0b982be69c955d85bc4002 /compiler/rustc_codegen_llvm/src | |
| parent | 4ad97f2a9a0971da3ae822a144cee3ef74cb48ba (diff) | |
| parent | 67bdc9b33710c21b4e19abd3e2b8aa95c1ccfaed (diff) | |
| download | rust-3c52c9b483f55596e6579a125b7087a5e7e506e1.tar.gz rust-3c52c9b483f55596e6579a125b7087a5e7e506e1.zip | |
Rollup merge of #133301 - GuillaumeGomez:add-example-wrapping-neg, r=workingjubilee
Add code example for `wrapping_neg` method for signed integers With this example, we make it obvious that `wrapping_neg` works both ways (neg to pos and pos to neg). r? `@workingjubilee`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions
