diff options
| author | Yuki Okushi <huyuumi.dev@gmail.com> | 2021-01-30 13:36:44 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-30 13:36:44 +0900 |
| commit | 91ea1cbc177e3ed460c5435092d1cc07e4423428 (patch) | |
| tree | bbbfedc01fcb61520e165a67efa8d99ca8ecab7a /library/std/src/sys/unix/stack_overflow.rs | |
| parent | b94d84d38a3d306a54c5a23caa54d373a2202b9f (diff) | |
| parent | edf2e3725e8d95b52784990a0c05978db5646bfb (diff) | |
| download | rust-91ea1cbc177e3ed460c5435092d1cc07e4423428.tar.gz rust-91ea1cbc177e3ed460c5435092d1cc07e4423428.zip | |
Rollup merge of #80959 - jhpratt:unsigned_abs-stabilization, r=m-ou-se
Stabilize `unsigned_abs` Resolves #74913. This PR stabilizes the `i*::unsigned_abs()` method, which returns the absolute value of an integer _as its unsigned equivalent_. This has the advantage that it does not overflow on `i*::MIN`. I have gone ahead and used this in a couple locations throughout the repository.
Diffstat (limited to 'library/std/src/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions
