diff options
| author | Zachary S <zasample18+github@gmail.com> | 2024-12-23 00:33:10 -0600 |
|---|---|---|
| committer | Zachary S <zasample18+github@gmail.com> | 2025-01-14 23:47:24 -0600 |
| commit | 58d6301cad7ac20407e708cd9d1ec499d1804015 (patch) | |
| tree | 3d8930133d08822ab088da06b075347a523211a8 /compiler/rustc_codegen_gcc/src | |
| parent | dd333ca66f20edafdda2d9f405ffa1acdc958821 (diff) | |
| download | rust-58d6301cad7ac20407e708cd9d1ec499d1804015.tar.gz rust-58d6301cad7ac20407e708cd9d1ec499d1804015.zip | |
Update ReadDir::next in std::sys::pal::unix::fs to use `&raw const (*ptr).field` instead of `ptr.offset(...).cast()`.
Also, the macro is only called three times, and all with the same local variable entry_ptr, so just use the local variable directly, and rename the macro to entry_field_ptr.
Diffstat (limited to 'compiler/rustc_codegen_gcc/src')
0 files changed, 0 insertions, 0 deletions
