about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-01-13 05:26:58 +0100
committerGitHub <noreply@github.com>2019-01-13 05:26:58 +0100
commit8c1813d3e12e61f4d53e0d997bb0747f557062ff (patch)
tree2e6b0b36985f0e20df27cec664e109e0bee84d97 /src/rustllvm/ArchiveWrapper.cpp
parent8f11da4bfc892c063dbb9109a286178e842d0b52 (diff)
parent7948b184146c961e552716ead12bcb443cdd07e9 (diff)
downloadrust-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