diff options
| author | Mazdak Farrokhzad <twingoow@gmail.com> | 2019-01-13 05:26:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-01-13 05:26:58 +0100 |
| commit | 8c1813d3e12e61f4d53e0d997bb0747f557062ff (patch) | |
| tree | 2e6b0b36985f0e20df27cec664e109e0bee84d97 /src/rustllvm/ArchiveWrapper.cpp | |
| parent | 8f11da4bfc892c063dbb9109a286178e842d0b52 (diff) | |
| parent | 7948b184146c961e552716ead12bcb443cdd07e9 (diff) | |
| download | rust-8c1813d3e12e61f4d53e0d997bb0747f557062ff.tar.gz rust-8c1813d3e12e61f4d53e0d997bb0747f557062ff.zip | |
Rollup merge of #57547 - Xanewok:ptr-eq, r=petrochenkov
Use `ptr::eq` where applicable Stumbled upon a few of `A as *const _ as usize == B as *const as usize`, so I decided to follow the programming boy scout rule (:smile:) and replaced the pattern with more widely used `ptr::eq`.
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
