diff options
| author | kennytm <kennytm@gmail.com> | 2018-03-20 07:15:14 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-20 07:15:14 +0800 |
| commit | 5d5f5a08b8d93d63e360bf409c9463e6282a38c6 (patch) | |
| tree | c04ea1754fd75a93c8467498b62c131a83e9feb2 /src/rustllvm/PassWrapper.cpp | |
| parent | f32f810e6ecde94e60baf0f11a38dc12ebee7453 (diff) | |
| parent | bf101a5759fd0ddab7c9cbb1dc93d22d35f54722 (diff) | |
| download | rust-5d5f5a08b8d93d63e360bf409c9463e6282a38c6.tar.gz rust-5d5f5a08b8d93d63e360bf409c9463e6282a38c6.zip | |
Rollup merge of #48810 - Phlosioneer:32463-impl-integer-for-wrapping, r=dtolnay
Implement Integer methods for Wrapping Wrapping<T> now implements: count_ones, count_zeros, leading_zeros, trailing_zeros, rotate_left, rotate_right, swap_bytes, from_be, from_le, to_be, to_le, and pow where T is: u8, u16, u32, u64, usize, i8, i16, i32, i64, or isize. Docs were written for all these methods, as well as examples. The examples mirror the ones on u8, u16, etc... for consistency. Closes #32463
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
