diff options
| author | Ayush Singh <ayushsingh1325@gmail.com> | 2022-12-19 14:52:02 +0530 |
|---|---|---|
| committer | Ayush Singh <ayushsingh1325@gmail.com> | 2022-12-23 16:08:23 +0530 |
| commit | 51fe24873fbd255e80063a97ecd406726c1e6675 (patch) | |
| tree | f44ea7f5642d28b45c2c179b7191725e9b03997b /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 224fa3907e319405fdabdb06c33f99b896754773 (diff) | |
| download | rust-51fe24873fbd255e80063a97ecd406726c1e6675.tar.gz rust-51fe24873fbd255e80063a97ecd406726c1e6675.zip | |
Use u32 methods instead of manual shifting
Switch to `to_be_bytes()` and `from_be_bytes()` instead of manual shifting This was suggested [`here`](https://github.com/rust-lang/rust/pull/105145#discussion_r1051418964) Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
